diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-09-19 11:31:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-03 11:40:35 -0700 |
commit | e9bfcbffb7b26065a2b467e29bb6c7ec83d17646 (patch) | |
tree | 0f941a419017f1e0d691c40bc9a19de2d2494bb6 /sound/drivers/mtpav.c | |
parent | bdba777a08cfe193f8c4a5cbb8382549db932171 (diff) | |
download | kernel_samsung_smdk4412-e9bfcbffb7b26065a2b467e29bb6c7ec83d17646.tar.gz kernel_samsung_smdk4412-e9bfcbffb7b26065a2b467e29bb6c7ec83d17646.tar.bz2 kernel_samsung_smdk4412-e9bfcbffb7b26065a2b467e29bb6c7ec83d17646.zip |
ALSA: hda/realtek - Fix auto-mute with HP+LO configuration
commit 8974bd51a77824d91010176f9a5da28513c2e1f5 upstream.
When the system has only the headphone and the line-out jacks without
speakers, the current auto-mute code doesn't work. It's because the
spec->automute_lines flag is wrongly referred in update_speakers().
This flag must be meaningless when spec->automute_hp_lo isn't set, thus
they should be always coupled.
The patch fixes the problem and add a comment to indicate the
relationship briefly.
BugLink: http://bugs.launchpad.net/bugs/851697
Reported-by: David Henningsson <david.henningsson@canonical.com>
Tested-By: Jayne Han <jayne.han@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/drivers/mtpav.c')
0 files changed, 0 insertions, 0 deletions