summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-08-15 17:35:00 +0200
committerJiri Slaby <jslaby@suse.cz>2014-09-03 21:31:18 +0200
commitac9bb39df0806acc6f62e8099184a233a4757d3a (patch)
tree729f15b19007c4d6e826d31e80d26b013dcf5ea3 /drivers/misc
parentde2a8e4ab77592a1012455e8849cb2cf2330fb6b (diff)
downloadlwn-ac9bb39df0806acc6f62e8099184a233a4757d3a.tar.gz
lwn-ac9bb39df0806acc6f62e8099184a233a4757d3a.zip
ALSA: hda/realtek - Avoid setting wrong COEF on ALC269 & co
commit f3ee07d8b6e061bf34a7167c3f564e8da4360a99 upstream. ALC269 & co have many vendor-specific setups with COEF verbs. However, some verbs seem specific to some codec versions and they result in the codec stalling. Typically, such a case can be avoided by checking the return value from reading a COEF. If the return value is -1, it implies that the COEF is invalid, thus it shouldn't be written. This patch adds the invalid COEF checks in appropriate places accessing ALC269 and its variants. The patch actually fixes the resume problem on Acer AO725 laptop. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=52181 Tested-by: Francesco Muzio <muziofg@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions