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:28:34 -0700 |
commit | 8666dec8958fc91913fe398178d26f33c1ea5745 (patch) | |
tree | a14c186caa18cf5894ed8e38030f10d8e20ff0f8 /drivers | |
parent | 65d6bdd5e4438a64d7806c22ba85bfa5f3a03f89 (diff) | |
download | linux-3.10-8666dec8958fc91913fe398178d26f33c1ea5745.tar.gz linux-3.10-8666dec8958fc91913fe398178d26f33c1ea5745.tar.bz2 linux-3.10-8666dec8958fc91913fe398178d26f33c1ea5745.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 'drivers')
0 files changed, 0 insertions, 0 deletions