]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ALSA: hda: add support for jack detection on IDT codecs.
authorMatthew Ranostay <mranostay@embeddedalley.com>
Sat, 25 Oct 2008 05:06:04 +0000 (01:06 -0400)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Oct 2008 07:15:15 +0000 (08:15 +0100)
commit74aeaabc3e452b29bc1b9eac5aa48923569f8a4e
treee9d9ecc7e98560fc8e1093419c3d9a4bf204b7cd
parent50a9f7905fb3e6ae25e80ba443a14d878caef0c9
ALSA: hda: add support for jack detection on IDT codecs.

This patch adds support to the IDT codec families to report jack status
to the jack abstraction layer. This required some reorganization in the
stac92xx_unsol_event function in which the index value is changed to
reporting the nid with the event.

Also adds an sigmatel_jack struct to keep track of the nid relation
to the jack abstraction layer instance. Also adds functions to set and
retrieve data values for each nid, this is used in stac92xx_unsol_event
to retrieve the GPIO mask for STAC_VREF_EVENT.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c