From: 黄涛 Date: Mon, 19 Mar 2012 03:54:13 +0000 (+0800) Subject: rk30: sdk: fix power key gpio definition X-Git-Tag: firefly_0821_release~9595^2~50 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f4a671a543e7e3b560d005906717a8d3eb382978;p=firefly-linux-kernel-4.4.55.git rk30: sdk: fix power key gpio definition --- diff --git a/arch/arm/mach-rk30/board-rk30-sdk-key.c b/arch/arm/mach-rk30/board-rk30-sdk-key.c index 0a8a1095166c..73e730c1ff70 100755 --- 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_PA7, + .gpio = RK30_PIN6_PA2, .active_low = PRESS_LEV_LOW, //.code_long_press = EV_ENCALL, .wakeup = 1,