From: Trilok Soni Date: Fri, 11 Feb 2011 08:44:41 +0000 (-0800) Subject: Input: matrix_keypad - increase the limit of rows and columns X-Git-Tag: v2.6.38-rc5~12^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfaea56741360311d0dabcb6603fa78c2e3de155;p=platform%2Fkernel%2Flinux-exynos.git Input: matrix_keypad - increase the limit of rows and columns Some keyboard controllers support more than 16 columns and rows. Increase the limit to 32. Signed-off-by: Trilok Soni Acked-by: Eric Miao Signed-off-by: Dmitry Torokhov --- diff --git a/include/linux/input/matrix_keypad.h b/include/linux/input/matrix_keypad.h index 80352ad..b67feb8 100644 --- a/include/linux/input/matrix_keypad.h +++ b/include/linux/input/matrix_keypad.h @@ -4,8 +4,8 @@ #include #include -#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) |\