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)
commite6ce180fa6df519b1e24dab9d1fcbe32ce618a5e
treec2689e3f5b4bf1bc52136c048c61ae24d9808820
parent2bff7e97ebbb1119e9f22936706294f4e85d4db6
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