Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751530AbaAIPCH (ORCPT ); Thu, 9 Jan 2014 10:02:07 -0500 Received: from eusmtp01.atmel.com ([212.144.249.243]:6461 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbaAIPB4 (ORCPT ); Thu, 9 Jan 2014 10:01:56 -0500 From: Nicolas Ferre To: Arnd Bergmann , Olof Johansson , ARM Maintainers CC: , , Boris BREZILLON , Jean-Jacques Hiblot , stable , Nicolas Ferre Subject: [PATCH] ARM: at91: smc: bug fix in sam9_smc_cs_read() Date: Thu, 9 Jan 2014 16:01:54 +0100 Message-ID: <1389279714-30873-1-git-send-email-nicolas.ferre@atmel.com> X-Mailer: git-send-email 1.8.2.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jean-Jacques Hiblot There was a copy/paste error when reading the nwe_pulse value. Signed-off-by: Jean-Jacques Hiblot Acked-by: Boris BREZILLON Cc: stable # 3.3 Signed-off-by: Nicolas Ferre --- Arnd, Olof, Kevin, This is a little fix that I have just received. As the "fixes" colletion is certainly closed for 3.13, I would like to include this one in the "fixes-non-critical" topic for 3.14. For the time being, I only have this one, so It can be convenient if you take this fix as a patch instead of a pull-request. Thanks, bye, Nicolas Ferre arch/arm/mach-at91/sam9_smc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/sam9_smc.c b/arch/arm/mach-at91/sam9_smc.c index 99a0a1d2b7dc..b26156bf15db 100644 --- a/arch/arm/mach-at91/sam9_smc.c +++ b/arch/arm/mach-at91/sam9_smc.c @@ -101,7 +101,7 @@ static void sam9_smc_cs_read(void __iomem *base, /* Pulse register */ val = __raw_readl(base + AT91_SMC_PULSE); - config->nwe_setup = val & AT91_SMC_NWEPULSE; + config->nwe_pulse = val & AT91_SMC_NWEPULSE; config->ncs_write_pulse = (val & AT91_SMC_NCS_WRPULSE) >> 8; config->nrd_pulse = (val & AT91_SMC_NRDPULSE) >> 16; config->ncs_read_pulse = (val & AT91_SMC_NCS_RDPULSE) >> 24; -- 1.8.2.2 -- 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/