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: 81304 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pv0-f184.google.com (mail-pv0-f184.google.com [74.125.83.184]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id D3D9AB70F4 for ; Wed, 2 Feb 2011 00:48:13 +1100 (EST) Received: by pvg11 with SMTP id 11sf2031467pvg.11 for ; Tue, 01 Feb 2011 05:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:mime-version:x-beenthere:received-spf :x-ironport-av:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=wS4Zc7avLVmTAPgMVKKyn8OeA6/tVq9KbCc38VO6/6w=; b=RTQfiQolqajPQeS4clHpAFHdsYQaBgvZ4p0Y2Sd6813W1zTjyUQ+JSgYVXZOeP22tg GCnUj2fFI3ESxFh5uBo9kQ4j79DG+g/id2h1nVCZW5HLK2DD03Dby06BG/uohHxWzBjK D69ipElLh6nAFJ7ShZzUdbog8Vh/39dSSaQGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:x-ironport-av:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; b=e+lbypL+KIEY4ZN795LvMq8VQLH2zufMA+kK1UeQ+klRjtJWK8H5NlnKv3UCKWru1l Gs6HKI1oPD/xlKLjcKtZMzr5RCPUSZU43acAt3JEGNkYhjd6Iq3o+qTrXoEGmANOR5ce hFCatUKxwZ+HKmEX2jXkfSP5LSez88iwJ8cn4= Received: by 10.142.234.19 with SMTP id g19mr485639wfh.29.1296568090425; Tue, 01 Feb 2011 05:48:10 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.142.97.18 with SMTP id u18ls9298323wfb.2.p; Tue, 01 Feb 2011 05:48:10 -0800 (PST) Received: by 10.142.200.2 with SMTP id x2mr1630827wff.26.1296568089976; Tue, 01 Feb 2011 05:48:09 -0800 (PST) Received: by 10.142.200.2 with SMTP id x2mr1630826wff.26.1296568089947; Tue, 01 Feb 2011 05:48:09 -0800 (PST) Received: from wolverine01.qualcomm.com (wolverine01.qualcomm.com [199.106.114.254]) by gmr-mx.google.com with ESMTPS id w13si24717798wfh.3.2011.02.01.05.48.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Feb 2011 05:48:09 -0800 (PST) Received-SPF: neutral (google.com: 199.106.114.254 is neither permitted nor denied by best guess record for domain of aghayal@codeaurora.org) client-ip=199.106.114.254; 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: [rtc-linux] [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> X-Original-Sender: aghayal@codeaurora.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 199.106.114.254 is neither permitted nor denied by best guess record for domain of aghayal@codeaurora.org) smtp.mail=aghayal@codeaurora.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , 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) |\