From: Takashi Iwai Date: Mon, 26 Sep 2011 13:19:55 +0000 (+0200) Subject: ALSA: hda/realtek - Don't detect LO jack when identical with HP X-Git-Tag: v3.1-rc8~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0d32e335fc0e354db93a807736243f5035fbc67;p=pandora-kernel.git ALSA: hda/realtek - Don't detect LO jack when identical with HP The spec->autocfg.line_out_pins[] may contain the same pins as hp_pins[] depending on the configuration. When they are identical, detecting the line_jack_present flag screws up the auto-mute because alc_line_automute() is called unconditionally at initialization while it won't be triggered by unsol events, thus the old line_jack_present flag is kept for the whole run. For fixing this buggy behavior, the driver needs to check whether the line-outs are really individual, and skip if same as headphone jacks. Reference: https://bugzilla.novell.com/show_bug.cgi?id=716104 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed