forked from Minki/linux
[ARM] pxa/palm: fix incorrect initialization of Palm Tungsten C keyboard
Palm Tungsten C keyboard structure has swapped rows/cols gpio structures and does not work. This patch fixes it. Signed-off-by: Ondrej Zajicek <santiago@crfreenet.org> Cc: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
parent
5e0fa3f63e
commit
902805dbda
@ -292,10 +292,10 @@ const static unsigned int palmtc_keypad_col_gpios[] = {
|
||||
|
||||
static struct matrix_keypad_platform_data palmtc_keypad_platform_data = {
|
||||
.keymap_data = &palmtc_keymap_data,
|
||||
.col_gpios = palmtc_keypad_row_gpios,
|
||||
.num_col_gpios = 12,
|
||||
.row_gpios = palmtc_keypad_col_gpios,
|
||||
.num_row_gpios = 4,
|
||||
.row_gpios = palmtc_keypad_row_gpios,
|
||||
.num_row_gpios = ARRAY_SIZE(palmtc_keypad_row_gpios),
|
||||
.col_gpios = palmtc_keypad_col_gpios,
|
||||
.num_col_gpios = ARRAY_SIZE(palmtc_keypad_col_gpios),
|
||||
.active_low = 1,
|
||||
|
||||
.debounce_ms = 20,
|
||||
|
Loading…
Reference in New Issue
Block a user