[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)
commit7eba5c9dc3735b14e3df7366671adc15e0c8a048
tree861964ee416186daf70408eb7da6be77fa42b301
parent60fac85fffc74cdd2fbdae821f269594ca25b6b1
[ALSA] hda-codec - Check PINCAP only for PIN widgets

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