ALSA: hda - Don't trigger pin-sense for STAC/IDT codecs
commitbfc9902599549736b9c6445e1e2235b8542f64a6
authorTakashi Iwai <tiwai@suse.de>
Fri, 27 Nov 2009 11:22:44 +0000 (27 12:22 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Nov 2009 11:22:44 +0000 (27 12:22 +0100)
treeda39d6398dd09f41d25a02faf48379044854f412
parent0b587fc4d35afb1bc0fc3d890084bb14c78372dc
ALSA: hda - Don't trigger pin-sense for STAC/IDT codecs

STAC/IDT codecs seem to behave weird when SET_PIN_SENSE verb is issued
before reading the jack-detection although the TRIG_REQ pin capability
is given by the hardware.

Since snd_hda_jack_detect() issues the SET_PIN_SENSE verb simply judging
from the pincap, we have to revert the change in the commit
  d56757abc11a21996d9839c0d4e3b2c3666cd318
    ALSA: hda - Replace the rest of jack-detections with snd_hda_jack_detect()
to plain GET_PIN_SENSE verb without triggering.

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c