From patchwork Tue Feb 1 13:47:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC, v2, 1/7] matrix_keypad: Increase the max limit of rows and columns Date: Tue, 01 Feb 2011 03:47:37 -0000 From: Anirudh Ghayal X-Patchwork-Id: 81304 Message-Id: <1296568063-12010-2-git-send-email-aghayal@codeaurora.org> To: linux-kernel@vger.kernel.org Cc: linux-input@vger.kernel.org, rtc-linux@googlegroups.com, linux-arm-msm@vger.kernel.org, Trilok Soni , Eric Miao , Dmitry Torokhov From: Trilok Soni Some keyboard controller have support for more than 16 columns and rows. Moving this value to 32. Cc: Eric Miao Cc: Dmitry Torokhov Signed-off-by: Trilok Soni Acked-by: Eric Miao --- 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 #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) |\