From patchwork Tue Feb 1 13:47:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anirudh Ghayal X-Patchwork-Id: 522571 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p11DmJS4013979 for ; Tue, 1 Feb 2011 13:48:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756852Ab1BANsR (ORCPT ); Tue, 1 Feb 2011 08:48:17 -0500 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 X-IronPort-AV: E=McAfee;i="5400,1158,6243"; a="72780239" Received: from pdmz-ns-mip.qualcomm.com (HELO mostmsg01.qualcomm.com) ([199.106.114.10]) by wolverine01.qualcomm.com with ESMTP/TLS/ADH-AES256-SHA; 01 Feb 2011 05:48:09 -0800 Received: from aghayal-linux.in.qualcomm.com (pdmz-snip-v218.qualcomm.com [192.168.218.1]) by mostmsg01.qualcomm.com (Postfix) with ESMTPA id E2D0B10004D1; Tue, 1 Feb 2011 05:47:54 -0800 (PST) From: Anirudh Ghayal 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 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> X-Mailer: git-send-email 1.7.3.5 In-Reply-To: <1296568063-12010-1-git-send-email-aghayal@codeaurora.org> References: <1296568063-12010-1-git-send-email-aghayal@codeaurora.org> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 01 Feb 2011 13:48:20 +0000 (UTC) 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) |\