projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bdb22c
)
[ARM] 5247/1: tosa: SW_EAR_IN support
author
Dmitry Baryshkov
<dbaryshkov@gmail.com>
Thu, 11 Sep 2008 00:28:51 +0000
(
01:28
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 13 Sep 2008 19:07:44 +0000
(20:07 +0100)
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/tosa.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/tosa.c
b/arch/arm/mach-pxa/tosa.c
index 33da99fa1ccfe8b7c1036d9d50944364948604cc..9f3ef9eb32e37366d0ecf5d3b6e8d1abaada4fab 100644
(file)
--- a/
arch/arm/mach-pxa/tosa.c
+++ b/
arch/arm/mach-pxa/tosa.c
@@
-522,6
+522,14
@@
static struct gpio_keys_button tosa_gpio_keys[] = {
.wakeup = 1,
.active_low = 1,
},
+ {
+ .type = EV_SW,
+ .code = SW_HEADPHONE_INSERT,
+ .gpio = TOSA_GPIO_EAR_IN,
+ .desc = "HeadPhone insert",
+ .active_low = 1,
+ .debounce_interval = 300,
+ },
};
static struct gpio_keys_platform_data tosa_gpio_keys_platform_data = {