]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Add jack pointer and unsolicited event bits to callback
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Nov 2018 13:17:58 +0000 (14:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 7 Dec 2018 10:42:33 +0000 (11:42 +0100)
commit7cecf92ae9d2b6c90a0d2837ccd845fd7f4d02f0
treec2689e3f5b4bf1bc52136c048c61ae24d9808820
parent46b14dd0eafcf852cfaf5e9c713b05a701ffae62
ALSA: hda - Add jack pointer and unsolicited event bits to callback

For allowing the callee to evaluate the associated jack information
and the unsolicited event data, add the new fields to
hda_jack_callback.  They can be used, for example, to retrieve the
headset button state in the callback.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_jack.c
sound/pci/hda/hda_jack.h