]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix line-out jack handling with STAC/IDT codec
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Aug 2009 11:40:54 +0000 (13:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Aug 2009 11:40:54 +0000 (13:40 +0200)
commit779511159818603bde540fd79e8aa2e549d06b06
tree468527b07ff2c340b9e4c1636dfb94bcf421232a
parent037663be35b4086fd907e163baaf808f54c10626
ALSA: hda - Fix line-out jack handling with STAC/IDT codec

When the line-out jack is plugged/unplugged, the driver needs to check
the headphone plug, not only the line-out jack itself.  Otherwise the
headphone or the speaker may be wrongly muted/unmuted.

As a result, both STAC_HP_EVENT and STAC_LO_EVENT need to call the
same function, stac92xx_hp_detect().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c