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)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:18:13 +0000 (13:18 -0700)
commit0615ae086dc02780e1405273a220ad2c84932f4d
tree54a616e19a130b812c5df0d16def2b3aebea903b
parenta3c9fd3526001ce924886593bdbb53fbaaaff3a7
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>

(cherry picked from commit 35be544af367170a9c6bf63adcf9d0cb2d569dbb)
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
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