linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: b.brezillon@overkiz.com (boris brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] at91: smc: bug fix in sam9_smc_cs_read()
Date: Thu, 09 Jan 2014 13:23:58 +0100	[thread overview]
Message-ID: <52CE94DE.40604@overkiz.com> (raw)
In-Reply-To: <1389268187-23585-1-git-send-email-jjhiblot@traphandler.com>

On 09/01/2014 12:49, Jean-Jacques Hiblot wrote:
> 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>
> ---
>   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 99a0a1d..b26156b 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;

      reply	other threads:[~2014-01-09 12:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-09 11:49 [PATCH] at91: smc: bug fix in sam9_smc_cs_read() Jean-Jacques Hiblot
2014-01-09 12:23 ` boris brezillon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52CE94DE.40604@overkiz.com \
    --to=b.brezillon@overkiz.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).