OSDN Git Service

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)
commit35be544af367170a9c6bf63adcf9d0cb2d569dbb
tree7bcd2dabde3b3f950916962edb5c601482c00335
parent3a93897ea37cbb8277f8a4232c12c0c18168a7db
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