[ALSA] hda-codec - Check PINCAP only for PIN widgets
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Nov 2007 13:53:42 +0000 (14:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 Nov 2007 17:38:32 +0000 (18:38 +0100)
The recent addition of checking PINCAP for EAPD seems to break some
systems due to unexpected response from the codec chip.  We shouldn't
issue GET_PINCAP verb to non-PIN widgets.  Now checks the widget type
before checking EAPD bit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_codec.c

Simple merge