Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756890Ab1BANsU (ORCPT ); Tue, 1 Feb 2011 08:48:20 -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" 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1204 Lines: 38 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/