Skip to content

Commit 7bff172

Browse files
committed
ALSA: hda - Always set HP pin in unsol handler for STAC/IDT codecs
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. Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 87c9e7d commit 7bff172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/patch_sigmatel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4629,7 +4629,7 @@ static void stac92xx_hp_detect(struct hda_codec *codec)
46294629
unsigned int val = AC_PINCTL_OUT_EN | AC_PINCTL_HP_EN;
46304630
if (no_hp_sensing(spec, i))
46314631
continue;
4632-
if (presence)
4632+
if (1 /*presence*/)
46334633
stac92xx_set_pinctl(codec, cfg->hp_pins[i], val);
46344634
#if 0 /* FIXME */
46354635
/* Resetting the pinctl like below may lead to (a sort of) regressions

0 commit comments

Comments
 (0)