diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-08-15 17:35:00 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-08-16 09:10:26 +0200 |
commit | f3ee07d8b6e061bf34a7167c3f564e8da4360a99 (patch) | |
tree | f8e6246f10a4e3d1b97eaf90ba98958f0401eb9b /sound/sh/aica.h | |
parent | 01d5500f35ad97887d786af03486d03e67965a6d (diff) | |
download | blackbird-op-linux-f3ee07d8b6e061bf34a7167c3f564e8da4360a99.tar.gz blackbird-op-linux-f3ee07d8b6e061bf34a7167c3f564e8da4360a99.zip |
ALSA: hda/realtek - Avoid setting wrong COEF on ALC269 & co
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh/aica.h')
0 files changed, 0 insertions, 0 deletions