projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ad976
)
rk30: sdk: fix power key gpio definition
author
黄涛
<huangtao@rock-chips.com>
Mon, 19 Mar 2012 03:54:13 +0000
(11:54 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 19 Mar 2012 03:54:13 +0000
(11:54 +0800)
arch/arm/mach-rk30/board-rk30-sdk-key.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk30-sdk-key.c
b/arch/arm/mach-rk30/board-rk30-sdk-key.c
index 0a8a1095166cebeda3142bad269dfdfcd0b947dc..73e730c1ff702e24f1c5af7661a1455880f0c8b2 100755
(executable)
--- a/
arch/arm/mach-rk30/board-rk30-sdk-key.c
+++ b/
arch/arm/mach-rk30/board-rk30-sdk-key.c
@@
-8,6
+8,7
@@
#define PRESS_LEV_HIGH 0
static struct rk29_keys_button key_button[] = {
+#if 0
{
.desc = "menu",
.code = EV_MENU,
@@
-50,10
+51,11
@@
static struct rk29_keys_button key_button[] = {
.gpio = RK30_PIN6_PA6,
.active_low = PRESS_LEV_LOW,
},
+#endif
{
.desc = "play",
.code = KEY_POWER,
- .gpio = RK30_PIN6_PA
7
,
+ .gpio = RK30_PIN6_PA
2
,
.active_low = PRESS_LEV_LOW,
//.code_long_press = EV_ENCALL,
.wakeup = 1,