diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-07-19 00:40:25 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-07-19 00:52:36 -0400 |
commit | 5ec461d083066441c1a280aa9e13d3bb5c3e008a (patch) | |
tree | bd7bd33d2884c930f450005c7060997c76182777 | |
parent | 87d9173ea0c820021cf49e4c675b3821cfb4f0eb (diff) |
Input: add microphone insert switch definition
Add a new switch type to the input API for reporting microphone
insertion. This will be used by the ALSA jack reporting API.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r-- | include/linux/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 3e86b61d2e4c..1be28cbbc57b 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -642,6 +642,7 @@ struct input_absinfo { | |||
642 | #define SW_RFKILL_ALL 0x03 /* rfkill master switch, type "any" | 642 | #define SW_RFKILL_ALL 0x03 /* rfkill master switch, type "any" |
643 | set = radio enabled */ | 643 | set = radio enabled */ |
644 | #define SW_RADIO SW_RFKILL_ALL /* deprecated */ | 644 | #define SW_RADIO SW_RFKILL_ALL /* deprecated */ |
645 | #define SW_MICROPHONE_INSERT 0x04 /* set = inserted */ | ||
645 | #define SW_MAX 0x0f | 646 | #define SW_MAX 0x0f |
646 | #define SW_CNT (SW_MAX+1) | 647 | #define SW_CNT (SW_MAX+1) |
647 | 648 | ||