ALSA: hda - Fix pin-detection in patch_sigmatel.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 5 Dec 2008 11:54:56 +0000 (12:54 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Dec 2008 11:54:56 +0000 (12:54 +0100)
commite6e3ea25b1679b55728a8a470a50a8fff61e8a45
treec7febce816f15ad049cb25e0cc92692065b807e3
parent4151d154efc2eb1e48b0950e93660691426dd23f
ALSA: hda - Fix pin-detection in patch_sigmatel.c

The pin-detection function used in patch_sigmatel.c shouldn't be specific
to HP pin because it's used for input pins in general, too.

This patch fixes the detection function, removes the HP check from it
and moves to stac92xx_hp_detect().

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