diff options
author | Sanjeev Premi <premi@ti.com> | 2010-02-17 17:09:24 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-17 20:23:20 -0500 |
commit | 0621d75698b3a485d7e31e9d964c76885628c015 (patch) | |
tree | 170f26c1b4719f365c781b9ee30cc913d90b0ad8 /arch/arm/mach-omap2/board-omap3evm.c | |
parent | aa6912d8850a555dccfab21f496e84aab7ededb6 (diff) |
omap3evm: Fixes after moving to matrix_keypad
The keypad was not working properly after migrating
to matrix_keypad.
Swapped the row, col fields of the KEY() macro in
the keymap definition to get it working again.
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 3b473cf9cc5b..34655a61d5f2 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -448,20 +448,23 @@ static struct twl4030_usb_data omap3evm_usb_data = { | |||
448 | 448 | ||
449 | static int board_keymap[] = { | 449 | static int board_keymap[] = { |
450 | KEY(0, 0, KEY_LEFT), | 450 | KEY(0, 0, KEY_LEFT), |
451 | KEY(0, 1, KEY_RIGHT), | 451 | KEY(0, 1, KEY_DOWN), |
452 | KEY(0, 2, KEY_A), | 452 | KEY(0, 2, KEY_ENTER), |
453 | KEY(0, 3, KEY_B), | 453 | KEY(0, 3, KEY_M), |
454 | KEY(1, 0, KEY_DOWN), | 454 | |
455 | KEY(1, 0, KEY_RIGHT), | ||
455 | KEY(1, 1, KEY_UP), | 456 | KEY(1, 1, KEY_UP), |
456 | KEY(1, 2, KEY_E), | 457 | KEY(1, 2, KEY_I), |
457 | KEY(1, 3, KEY_F), | 458 | KEY(1, 3, KEY_N), |
458 | KEY(2, 0, KEY_ENTER), | 459 | |
459 | KEY(2, 1, KEY_I), | 460 | KEY(2, 0, KEY_A), |
461 | KEY(2, 1, KEY_E), | ||
460 | KEY(2, 2, KEY_J), | 462 | KEY(2, 2, KEY_J), |
461 | KEY(2, 3, KEY_K), | 463 | KEY(2, 3, KEY_O), |
462 | KEY(3, 0, KEY_M), | 464 | |
463 | KEY(3, 1, KEY_N), | 465 | KEY(3, 0, KEY_B), |
464 | KEY(3, 2, KEY_O), | 466 | KEY(3, 1, KEY_F), |
467 | KEY(3, 2, KEY_K), | ||
465 | KEY(3, 3, KEY_P) | 468 | KEY(3, 3, KEY_P) |
466 | }; | 469 | }; |
467 | 470 | ||