diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-08-15 17:35:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-05 16:34:13 -0700 |
commit | 14334811dcf5b61fc6f43f8a5c4dfae38d927496 (patch) | |
tree | c1955cdb60faeebddf10fd6f4f7724567b187055 /sound/core/timer_compat.c | |
parent | 2647be2bcabab844fb5820bdbc3646f2913bacf2 (diff) | |
download | lwn-14334811dcf5b61fc6f43f8a5c4dfae38d927496.tar.gz lwn-14334811dcf5b61fc6f43f8a5c4dfae38d927496.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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/core/timer_compat.c')
0 files changed, 0 insertions, 0 deletions