Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 902805db authored by Ondrej Zajicek's avatar Ondrej Zajicek Committed by Eric Miao
Browse files

[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: default avatarOndrej Zajicek <santiago@crfreenet.org>
Cc: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 5e0fa3f6
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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,