ALSA: hda - Disable tigger at pin-sensing on AD codecs
authorTakashi Iwai <tiwai@suse.de>
Fri, 25 Dec 2009 21:49:01 +0000 (22:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 25 Dec 2009 21:49:01 +0000 (22:49 +0100)
commit729d55ba972348234759f8e40abf8de020f0d505
tree3550e86c5937ec88033932782fafda7f631ffe3c
parentef18beded8ddbaafdf4914bab209f77e60ae3a18
ALSA: hda - Disable tigger at pin-sensing on AD codecs

Analog Device codecs seem to have problems with the triggering of
pin-sensing although their pincaps give the trigger requirements.
Some reported that constant CPU load on HP laptops with AD codecs.

For avoiding this regression, add a flag to codec struct to notify
explicitly that the codec doesn't suppot the trigger at pin-sensing.

Tested-by: Maciej Rutecki <maciej.rutecki@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/patch_analog.c