From patchwork Fri Jun 17 14:11:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 891472 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5HEBl4L001588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 17 Jun 2011 14:12:13 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QXZll-0002B5-7J; Fri, 17 Jun 2011 14:11:33 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QXZlk-0006Ha-SP; Fri, 17 Jun 2011 14:11:32 +0000 Received: from mail-ww0-f49.google.com ([74.125.82.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QXZlh-0006HH-JT for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2011 14:11:30 +0000 Received: by wwb39 with SMTP id 39so1928924wwb.18 for ; Fri, 17 Jun 2011 07:11:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=/LduoCduagVyNM5rX5B2XBZqNqwbh7qREKdEEmVEauI=; b=U5YXsO++BuoHtaiNg+Wd/suSyR7vLn6S1UKxtuHpCMWdiD4wcBzMZ2RAlSAkTDOBmm m50+jxObACK9Pn8cTJuKvj0Fr7YmyKvNCc7vD1Q8bPaH0xP2p7i+RXMNhWeIuRusQp4g YBDYO/fmUqrSZyxFscBk2T+bugpXAAPeBcZc8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=rhNP0EEratsewcwf/HALhYT7muQGRcoR2HMkRVRfjUgJdqEdw23REyAPH7zfatZaKy aL9yPqnV5bCKAbBzh9q6wSayoEQ03PSird30bRY0pQnuM3rPuxCJ6ImUfwRzCBxIAQzB /hVifOGY7mYd4ItvQ+OHbVRXOLBAI88lQybUM= Received: by 10.216.233.224 with SMTP id p74mr2260736weq.4.1308319885577; Fri, 17 Jun 2011 07:11:25 -0700 (PDT) Received: from doriath.ww600.siemens.net ([91.213.169.4]) by mx.google.com with ESMTPS id n21sm413512wed.19.2011.06.17.07.11.23 (version=SSLv3 cipher=OTHER); Fri, 17 Jun 2011 07:11:24 -0700 (PDT) From: Dmitry Eremin-Solenikov To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] collie: don't read GPSR Date: Fri, 17 Jun 2011 18:11:32 +0400 Message-Id: <1308319892-13057-1-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.7.5.3 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110617_101129_819084_EEACEF62 X-CRM114-Status: GOOD ( 14.81 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (dbaryshkov[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL Cc: Eric Miao , Russell King X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 17 Jun 2011 14:12:14 +0000 (UTC) On StrongARM GPSR is write-only according to docs, so don't read from it. Just set the required GPIO. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/collie.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index f28025e..3f32ba2 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c @@ -339,7 +339,7 @@ static void __init collie_init(void) PCFR = PCFR_OPDE; - GPSR |= _COLLIE_GPIO_UCB1x00_RESET; + GPSR = _COLLIE_GPIO_UCB1x00_RESET; platform_scoop_config = &collie_pcmcia_config;