aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-02-29 03:41:17 -0500
committerLuis Henriques <luis.henriques@canonical.com>2012-03-26 05:26:51 -0400
commitd4feccfe1abefeaee439be4968bc1ab469322bc9 (patch)
tree764d92f17466caeb68e4e825bf55635825606123
parentf07a1a08517781a66d94a5dcb6f26bf7304a2b55 (diff)
ALSA: hda - Always set HP pin in unsol handler for STAC/IDT codecs
BugLink: http://bugs.launchpad.net/bugs/954576 commit 7bff172a352a2fbe9856bba517d71a2072aab041 upstream. A bug report with an old Sony laptop showed that we can't rely on BIOS setting the pins of headphones but the driver should set always by itself. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--sound/pci/hda/patch_sigmatel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 43d88c72493..86706821a23 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4589,7 +4589,7 @@ static void stac92xx_hp_detect(struct hda_codec *codec)
4589 unsigned int val = AC_PINCTL_OUT_EN | AC_PINCTL_HP_EN; 4589 unsigned int val = AC_PINCTL_OUT_EN | AC_PINCTL_HP_EN;
4590 if (no_hp_sensing(spec, i)) 4590 if (no_hp_sensing(spec, i))
4591 continue; 4591 continue;
4592 if (presence) 4592 if (1 /*presence*/)
4593 stac92xx_set_pinctl(codec, cfg->hp_pins[i], val); 4593 stac92xx_set_pinctl(codec, cfg->hp_pins[i], val);
4594#if 0 /* FIXME */ 4594#if 0 /* FIXME */
4595/* Resetting the pinctl like below may lead to (a sort of) regressions 4595/* Resetting the pinctl like below may lead to (a sort of) regressions