]> git.baikalelectronics.ru Git - kernel.git/commit
Input: fix rx51 board keymap
authorAmit Kucheria <amit.kucheria@verdurent.com>
Tue, 6 Oct 2009 04:43:44 +0000 (21:43 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 6 Oct 2009 05:00:39 +0000 (22:00 -0700)
commit019bbf34a72c5d6fe9db81f546b887f65369517e
tree44f9ea41b028f35fbaa463c6964954c3925dd678
parent5798c6922d8a1adfc770a1adbcad33a6efaddf35
Input: fix rx51 board keymap

The original driver was written with the KEY() macro defined as (col,
row) instead of (row, col) as defined by the matrix keypad
infrastructure. So the keymap was defined accordingly. Since the
driver that was merged upstream uses the matrix keypad infrastructure,
modify the keymap accordingly.

While we are at it, fix the comments in twl4030.h and define
PERSISTENT_KEY as (r,c) instead of (c, r)

Tested on a RX51 (N900) device.

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
arch/arm/mach-omap2/board-rx51-peripherals.c
include/linux/i2c/twl4030.h