stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: at91: smc: bug fix in sam9_smc_cs_read()
@ 2014-01-09 15:01 Nicolas Ferre
  2014-01-14 18:34 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Ferre @ 2014-01-09 15:01 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson, ARM Maintainers
  Cc: linux-arm-kernel, linux-kernel, Boris BREZILLON,
	Jean-Jacques Hiblot, stable, Nicolas Ferre

From: Jean-Jacques Hiblot <jjhiblot@traphandler.com>

There was a copy/paste error when reading the nwe_pulse value.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
Acked-by: Boris BREZILLON <b.brezillon@overkiz.com>
Cc: stable <stable@vger.kernel.org> # 3.3
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: at91: smc: bug fix in sam9_smc_cs_read()
  2014-01-09 15:01 [PATCH] ARM: at91: smc: bug fix in sam9_smc_cs_read() Nicolas Ferre
@ 2014-01-14 18:34 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2014-01-14 18:34 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Arnd Bergmann, Olof Johansson, ARM Maintainers, linux-arm-kernel,
	linux-kernel, Boris BREZILLON, Jean-Jacques Hiblot, stable

Nicolas Ferre <nicolas.ferre@atmel.com> writes:

> From: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
>
> There was a copy/paste error when reading the nwe_pulse value.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
> Acked-by: Boris BREZILLON <b.brezillon@overkiz.com>
> Cc: stable <stable@vger.kernel.org> # 3.3
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
> 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.

Applied to fixes-non-critical, and merged into for-next.

Thanks,

Kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-14 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-09 15:01 [PATCH] ARM: at91: smc: bug fix in sam9_smc_cs_read() Nicolas Ferre
2014-01-14 18:34 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).