projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87d9173
)
Input: add microphone insert switch definition
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Sat, 19 Jul 2008 04:40:25 +0000
(
00:40
-0400)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Sat, 19 Jul 2008 04:52:36 +0000
(
00:52
-0400)
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>
include/linux/input.h
patch
|
blob
|
history
diff --git
a/include/linux/input.h
b/include/linux/input.h
index 3e86b61d2e4cf6fbd26320f0aad6653705c237bb..1be28cbbc57bcdfa0746377df47a1f5d33de8858 100644
(file)
--- a/
include/linux/input.h
+++ b/
include/linux/input.h
@@
-642,6
+642,7
@@
struct input_absinfo {
#define SW_RFKILL_ALL 0x03 /* rfkill master switch, type "any"
set = radio enabled */
#define SW_RADIO SW_RFKILL_ALL /* deprecated */
+#define SW_MICROPHONE_INSERT 0x04 /* set = inserted */
#define SW_MAX 0x0f
#define SW_CNT (SW_MAX+1)