From: Takashi Iwai Date: Thu, 27 Feb 2014 15:24:53 +0000 (+0100) Subject: ALSA: hda/sigmatel - Allow auto-switching for dock line-in of HP laptops X-Git-Tag: v3.15-rc1~142^2~3^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8b99a1dcb49b0d362b19a4831a00d85c76bd4b3;p=pandora-kernel.git ALSA: hda/sigmatel - Allow auto-switching for dock line-in of HP laptops Many HP laptops with STAC codecs have a docking station port and BIOS sets the pins for the input on the dock as a line in. Because the generic parser doesn't handle a line in pin as auto-switchable, this resulted in the manual capture source selection on these laptops. However, from the usability POV, the automatic switching is easier. This patch adds the line_in_auto_switch hint in the fixup function for these laptops. Even if no dock port is present, this should be harmless as the generic parser allows the auto-switching only in a limited situation (all three pins are located in different positions). Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed