ALSA: Add support for mechanical jack insertion
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 10 Dec 2008 13:55:49 +0000 (13:55 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2008 14:10:44 +0000 (15:10 +0100)
commitcdc693643271b2e6a693cf8f6afb258cce01f058
tree35a6ef6bdc894f91fe782732e0536d3a832ec54e
parenta53ccab3ccac9e8676a683df9822a2daec83ef54
ALSA: Add support for mechanical jack insertion

Some systems support both mechanical and electrical jack detection,
allowing them to report that a jack is physically present but does
not have any functioning connections. Add a new jack type for these,
allowing user space to report faulty connections.

Thanks to Guillem Jover for the suggestion.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/linux/input.h
include/sound/jack.h
sound/core/jack.c