ALSA: hda - Fix headphone-detection on some machines with STAC/IDT codecs
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Apr 2009 10:20:24 +0000 (12:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Apr 2009 10:20:24 +0000 (12:20 +0200)
commitffd0e56c606836581da5df742a43ce8015ca7475
tree6e5c2ab926e8bc7a7ea7ab34551d8fe31d971f84
parentd523b0c808a5c5cbde9ac89427d98ee6288f5f2f
ALSA: hda - Fix headphone-detection on some machines with STAC/IDT codecs

When the headphone can have no unique DAC, the current code doesn't
check the HP-detection although it should.  Put the hp-detection check
before the DAC check to fix this bug.

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