]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit5de9322c44e9a3df3792fc5ae09344dff7df4926
tree861964ee416186daf70408eb7da6be77fa42b301
parentd87fba7a2617aa67ca502f8930b27526924121ef
[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