From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anirudh Ghayal Subject: [RFC v2 PATCH 1/7] matrix_keypad: Increase the max limit of rows and columns Date: Tue, 1 Feb 2011 19:17:37 +0530 Message-ID: <1296568063-12010-2-git-send-email-aghayal@codeaurora.org> References: <1296568063-12010-1-git-send-email-aghayal@codeaurora.org> Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:19991 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756790Ab1BANsJ (ORCPT ); Tue, 1 Feb 2011 08:48:09 -0500 In-Reply-To: <1296568063-12010-1-git-send-email-aghayal@codeaurora.org> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.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 --- 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) |\ -- 1.7.3.5