From: Takashi Iwai Date: Mon, 19 Sep 2011 09:31:34 +0000 (+0200) Subject: ALSA: hda/realtek - Fix auto-mute with HP+LO configuration X-Git-Tag: v3.1-rc7~13^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8974bd51a77824d91010176f9a5da28513c2e1f5;p=pandora-kernel.git ALSA: hda/realtek - Fix auto-mute with HP+LO configuration 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 Tested-By: Jayne Han Cc: stable@kernel.org (3.0) Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed