All of lore.kernel.org
 help / color / mirror / Atom feed
From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] at91: sama5: fix incorrect PMC pcr div definition
Date: Fri, 24 May 2013 10:51:50 +0200	[thread overview]
Message-ID: <519F2A26.3080907@atmel.com> (raw)
In-Reply-To: <1369304328-11442-1-git-send-email-josh.wu@atmel.com>

On 23/05/2013 12:18, Josh Wu :
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

And stacked on top of at91-3.10-fixes.

Thanks for catching this! Bye.

> ---
>   arch/arm/mach-at91/include/mach/at91_pmc.h |    6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-at91/include/mach/at91_pmc.h b/arch/arm/mach-at91/include/mach/at91_pmc.h
> index 31df120..2bd7f51 100644
> --- a/arch/arm/mach-at91/include/mach/at91_pmc.h
> +++ b/arch/arm/mach-at91/include/mach/at91_pmc.h
> @@ -179,9 +179,9 @@ extern void __iomem *at91_pmc_base;
>   #define		AT91_PMC_PCR_CMD	(0x1  <<  12)		/* Command (read=0, write=1) */
>   #define		AT91_PMC_PCR_DIV(n)	((n)  <<  16)		/* Divisor Value */
>   #define			AT91_PMC_PCR_DIV0	0x0			/* Peripheral clock is MCK */
> -#define			AT91_PMC_PCR_DIV2	0x2			/* Peripheral clock is MCK/2 */
> -#define			AT91_PMC_PCR_DIV4	0x4			/* Peripheral clock is MCK/4 */
> -#define			AT91_PMC_PCR_DIV8	0x8			/* Peripheral clock is MCK/8 */
> +#define			AT91_PMC_PCR_DIV2	0x1			/* Peripheral clock is MCK/2 */
> +#define			AT91_PMC_PCR_DIV4	0x2			/* Peripheral clock is MCK/4 */
> +#define			AT91_PMC_PCR_DIV8	0x3			/* Peripheral clock is MCK/8 */
>   #define		AT91_PMC_PCR_EN		(0x1  <<  28)		/* Enable */
>
>   #endif
>


-- 
Nicolas Ferre

      parent reply	other threads:[~2013-05-24  8:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-23 10:18 [PATCH] at91: sama5: fix incorrect PMC pcr div definition Josh Wu
2013-05-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-23 12:16 ` Ludovic Desroches
2013-05-24  8:51 ` Nicolas Ferre [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=519F2A26.3080907@atmel.com \
    --to=nicolas.ferre@atmel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.