Message ID | 1389279714-30873-1-git-send-email-nicolas.ferre@atmel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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
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;