]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Don't trigger pin-sense for STAC/IDT codecs
authorTakashi Iwai <tiwai@suse.de>
Fri, 27 Nov 2009 11:22:44 +0000 (12:22 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Nov 2009 11:22:44 +0000 (12:22 +0100)
commit26181507f85d72d4b5d6984761b96138d016f646
treeda39d6398dd09f41d25a02faf48379044854f412
parent8ae6dad6fa97e358fba47f710f8807228b652897
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
  db78020fa5d7803000872fa600f63c0aa087e381
    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