]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: Introduce common helper functions for jack-detection control
authorTakashi Iwai <tiwai@suse.de>
Wed, 2 Nov 2011 07:36:06 +0000 (08:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Nov 2011 10:14:03 +0000 (11:14 +0100)
commitfd348d90c12565efb0864f803682e8b1a2047c06
tree7bcd2dabde3b3f950916962edb5c601482c00335
parentd999dcd703f733953c63fccb7ac8140f469a51cb
ALSA: Introduce common helper functions for jack-detection control

Now move the helper function for creating and reporting the jack-detection
to the common place.  The driver that needs this functionality should
select CONFIG_SND_KCTL_JACK kconfig.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/control.h
sound/core/Kconfig
sound/core/Makefile
sound/core/ctljack.c [new file with mode: 0644]
sound/pci/hda/Kconfig
sound/pci/hda/hda_jack.c
sound/pci/hda/hda_jack.h