Thread (18 messages) flat view 18 messages, 6 authors, 2011-02-10
STALE5694d

[RFC v2 PATCH 1/7] matrix_keypad: Increase the max limit of rows and columns

From: Anirudh Ghayal <hidden>
Date: 2011-02-01 13:48:20
Also in: linux-arm-msm, lkml
Subsystem: input (keyboard, mouse, joystick, touchscreen) drivers, the rest · Maintainers: Dmitry Torokhov, Linus Torvalds

From: Trilok Soni <redacted>

Some keyboard controller have support for more than
16 columns and rows. Moving this value to 32.

Cc: Eric Miao <redacted>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Trilok Soni <redacted>
---
Changes from v1:
Moved the max columns and rows to 32

 include/linux/input/matrix_keypad.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/input/matrix_keypad.h b/include/linux/input/matrix_keypad.h
index 6974746..fe7c4b9 100644
--- a/include/linux/input/matrix_keypad.h
+++ b/include/linux/input/matrix_keypad.h
@@ -4,8 +4,8 @@
 #include <linux/types.h>
 #include <linux/input.h>
 
-#define MATRIX_MAX_ROWS		16
-#define MATRIX_MAX_COLS		16
+#define MATRIX_MAX_ROWS		32
+#define MATRIX_MAX_COLS		32
 
 #define KEY(row, col, val)	((((row) & (MATRIX_MAX_ROWS - 1)) << 24) |\
 				 (((col) & (MATRIX_MAX_COLS - 1)) << 16) |\
-- 
1.7.3.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help