From 06132a893d83cf2dc128ad9b37b56be6a6d4714c Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 26 Mar 2012 20:28:56 +0200 Subject: [PATCH 27/28] beaglebone: fix direction of gpio-keys Signed-off-by: Koen Kooi --- arch/arm/mach-omap2/board-am335xevm.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c index 5318c41..fdeed59 100644 --- a/arch/arm/mach-omap2/board-am335xevm.c +++ b/arch/arm/mach-omap2/board-am335xevm.c @@ -995,7 +995,7 @@ static struct gpio_keys_button beaglebone_lcd7_gpio_keys[] = { { .code = KEY_LEFT, .gpio = GPIO_TO_PIN(1, 16), - .active_low = false, + .active_low = true, .desc = "left", .type = EV_KEY, .wakeup = 1, @@ -1003,7 +1003,7 @@ static struct gpio_keys_button beaglebone_lcd7_gpio_keys[] = { { .code = KEY_RIGHT, .gpio = GPIO_TO_PIN(1, 17), - .active_low = false, + .active_low = true, .desc = "right", .type = EV_KEY, .wakeup = 1, @@ -1011,7 +1011,7 @@ static struct gpio_keys_button beaglebone_lcd7_gpio_keys[] = { { .code = KEY_UP, .gpio = GPIO_TO_PIN(1, 19), - .active_low = false, + .active_low = true, .desc = "up", .type = EV_KEY, .wakeup = 1, @@ -1019,7 +1019,7 @@ static struct gpio_keys_button beaglebone_lcd7_gpio_keys[] = { { .code = KEY_DOWN, .gpio = GPIO_TO_PIN(3, 16), - .active_low = false, + .active_low = true, .desc = "down", .type = EV_KEY, .wakeup = 1, @@ -1027,7 +1027,7 @@ static struct gpio_keys_button beaglebone_lcd7_gpio_keys[] = { { .code = KEY_ENTER, .gpio = GPIO_TO_PIN(3, 19), - .active_low = false, + .active_low = true, .desc = "enter", .type = EV_KEY, .wakeup = 1, @@ -1071,7 +1071,7 @@ static struct gpio_keys_button beaglebone_lcd3_gpio_keys[] = { { .code = KEY_LEFT, .gpio = GPIO_TO_PIN(1, 16), - .active_low = false, + .active_low = true, .desc = "left", .type = EV_KEY, .wakeup = 1, @@ -1079,7 +1079,7 @@ static struct gpio_keys_button beaglebone_lcd3_gpio_keys[] = { { .code = KEY_RIGHT, .gpio = GPIO_TO_PIN(1, 17), - .active_low = false, + .active_low = true, .desc = "right", .type = EV_KEY, .wakeup = 1, @@ -1087,7 +1087,7 @@ static struct gpio_keys_button beaglebone_lcd3_gpio_keys[] = { { .code = KEY_UP, .gpio = GPIO_TO_PIN(3, 19), - .active_low = false, + .active_low = true, .desc = "up", .type = EV_KEY, .wakeup = 1, @@ -1095,7 +1095,7 @@ static struct gpio_keys_button beaglebone_lcd3_gpio_keys[] = { { .code = KEY_DOWN, .gpio = GPIO_TO_PIN(1, 28), - .active_low = false, + .active_low = true, .desc = "down", .type = EV_KEY, .wakeup = 1, @@ -1103,7 +1103,7 @@ static struct gpio_keys_button beaglebone_lcd3_gpio_keys[] = { { .code = KEY_ENTER, .gpio = GPIO_TO_PIN(0, 7), - .active_low = false, + .active_low = true, .desc = "down", .type = EV_KEY, .wakeup = 1, -- 1.7.2.5