From patchwork Fri Dec 14 16:19:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 13589 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 568C023FB4 for ; Fri, 14 Dec 2012 16:19:54 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 08134A195F6 for ; Fri, 14 Dec 2012 16:19:53 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id t4so3225987iag.11 for ; Fri, 14 Dec 2012 08:19:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:x-received:received-spf :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=cT2zW2Z8XEDBdOdvIUKJtbOixeN57Iykkz6kBigA3K0=; b=RnOxx+78Jvkl7UbgrbBapTn2ox6HBntSsBL3AgHzAY8+MWldq2w/QmjWyjMJhluYom R5jAdt5+mijm/26q3Eq+zwSRQzdlUZNLP+fdrFRvFqrGwmjaumjLvJBkz3YbGa6/MwRx Fwwz9wBbaY/W2YpAEPo2I+HvusQobw+w67JdnZHS/mq5qQhEglIT9I5V/Aqi/d8xQb2f cvdZKTJBQ+qVFY0Q6al8CNrW0+o5M4ECxjdEPdXkKQ5rm6mx2dTmXLBkak18AcVzE/JP kTA550LTbrxMkp74pOcKWsvP/QZIziFwfeBwv4ymXLT2nM/hAsn8YHEQaR/CAMfQEETW e9qA== Received: by 10.50.42.168 with SMTP id p8mr2017223igl.57.1355501993455; Fri, 14 Dec 2012 08:19:53 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp81576igt; Fri, 14 Dec 2012 08:19:52 -0800 (PST) X-Received: by 10.180.81.41 with SMTP id w9mr3568387wix.18.1355501992295; Fri, 14 Dec 2012 08:19:52 -0800 (PST) Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by mx.google.com with ESMTPS id gs5si15022869wib.19.2012.12.14.08.19.51 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Dec 2012 08:19:52 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.174 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.174; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.174 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-we0-f174.google.com with SMTP id x10so1548950wey.5 for ; Fri, 14 Dec 2012 08:19:51 -0800 (PST) Received: by 10.180.24.199 with SMTP id w7mr3608375wif.5.1355501991827; Fri, 14 Dec 2012 08:19:51 -0800 (PST) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id u6sm8325248wif.2.2012.12.14.08.19.50 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Dec 2012 08:19:51 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org, Bibek Basu , Lee Jones , Mian Yousaf Kaukab Subject: [PATCH 03/21] gpio: ab8500: Fix alternate function register address Date: Fri, 14 Dec 2012 16:19:21 +0000 Message-Id: <1355501979-1157-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355501979-1157-1-git-send-email-lee.jones@linaro.org> References: <1355501979-1157-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkHNXLBC1TRPsYPrzI0bcf8QwWt+VMBAk7dYqjttUvqXmk0SsN7gwuUEScBj237K8ZLPPEd From: Bibek Basu Alternate function register address is actually 0x50 and thus changed accordingly. Signed-off-by: Lee Jones Signed-off-by: Bibek Basu Signed-off-by: Mian Yousaf Kaukab Reviewed-by: Jonas ABERG Tested-by: Jonas ABERG --- drivers/gpio/gpio-ab8500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c index c3c7c5a..b7d4416 100644 --- a/drivers/gpio/gpio-ab8500.c +++ b/drivers/gpio/gpio-ab8500.c @@ -60,7 +60,7 @@ #define AB8500_GPIO_IN4_REG 0x43 #define AB8500_GPIO_IN5_REG 0x44 #define AB8500_GPIO_IN6_REG 0x45 -#define AB8500_GPIO_ALTFUN_REG 0x45 +#define AB8500_GPIO_ALTFUN_REG 0x50 #define ALTFUN_REG_INDEX 6 #define AB8500_NUM_GPIO 42 #define AB8500_NUM_VIR_GPIO_IRQ 16