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] ARM: at91/PMC: fix at91sam9n12 USB FS init
Date: Tue, 25 Jun 2013 10:24:47 +0200	[thread overview]
Message-ID: <51C953CF.4070805@atmel.com> (raw)
In-Reply-To: <51C9264C.6050400@atmel.com>

On 25/06/2013 07:10, Bo Shen :
> Hi Nicolas,
>
> On 06/24/2013 06:57 PM, Nicolas Ferre wrote:
>> at91sam9n12 has Full-speed only USB. So we should add
>> it to the list in at91_pllb_usbfs_clock_init() function.
>>
>> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
>> ---
>>   arch/arm/mach-at91/clock.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
>> index 978de42..2f732d9 100644
>> --- a/arch/arm/mach-at91/clock.c
>> +++ b/arch/arm/mach-at91/clock.c
>> @@ -699,7 +699,7 @@ static void __init
>> at91_pllb_usbfs_clock_init(unsigned long main_clock)
>>           at91_pmc_write(AT91_PMC_SCER, AT91RM9200_PMC_MCKUDP);
>>       } else if (cpu_is_at91sam9260() || cpu_is_at91sam9261() ||
>>              cpu_is_at91sam9263() || cpu_is_at91sam9g20() ||
>> -           cpu_is_at91sam9g10()) {
>> +           cpu_is_at91sam9g10() || cpu_is_at91sam9n12()) {
>>           uhpck.pmc_mask = AT91SAM926x_PMC_UHP;
>>           udpck.pmc_mask = AT91SAM926x_PMC_UDP;
>>       }
>>
>
> As you post the following patches:
>    ARM: at91/PMC: fix at91sam9n12 USB FS init
> (https://patchwork.kernel.org/patch/2772301/)
>
> This patch no need anymore.

Absolutely.

Bye,
-- 
Nicolas Ferre

WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Bo Shen <voice.shen@atmel.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>,
	"Ludovic Desroches" <ludovic.desroches@atmel.com>,
	Josh Wu <josh.wu@atmel.com>,
	"Wenyou Yang" <wenyou.yang@atmel.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ARM: at91/PMC: fix at91sam9n12 USB FS init
Date: Tue, 25 Jun 2013 10:24:47 +0200	[thread overview]
Message-ID: <51C953CF.4070805@atmel.com> (raw)
In-Reply-To: <51C9264C.6050400@atmel.com>

On 25/06/2013 07:10, Bo Shen :
> Hi Nicolas,
>
> On 06/24/2013 06:57 PM, Nicolas Ferre wrote:
>> at91sam9n12 has Full-speed only USB. So we should add
>> it to the list in at91_pllb_usbfs_clock_init() function.
>>
>> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
>> ---
>>   arch/arm/mach-at91/clock.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
>> index 978de42..2f732d9 100644
>> --- a/arch/arm/mach-at91/clock.c
>> +++ b/arch/arm/mach-at91/clock.c
>> @@ -699,7 +699,7 @@ static void __init
>> at91_pllb_usbfs_clock_init(unsigned long main_clock)
>>           at91_pmc_write(AT91_PMC_SCER, AT91RM9200_PMC_MCKUDP);
>>       } else if (cpu_is_at91sam9260() || cpu_is_at91sam9261() ||
>>              cpu_is_at91sam9263() || cpu_is_at91sam9g20() ||
>> -           cpu_is_at91sam9g10()) {
>> +           cpu_is_at91sam9g10() || cpu_is_at91sam9n12()) {
>>           uhpck.pmc_mask = AT91SAM926x_PMC_UHP;
>>           udpck.pmc_mask = AT91SAM926x_PMC_UDP;
>>       }
>>
>
> As you post the following patches:
>    ARM: at91/PMC: fix at91sam9n12 USB FS init
> (https://patchwork.kernel.org/patch/2772301/)
>
> This patch no need anymore.

Absolutely.

Bye,
-- 
Nicolas Ferre

  reply	other threads:[~2013-06-25  8:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-24 10:57 [PATCH] ARM: at91/PMC: fix at91sam9n12 USB FS init Nicolas Ferre
2013-06-24 10:57 ` Nicolas Ferre
2013-06-25  5:10 ` Bo Shen
2013-06-25  5:10   ` Bo Shen
2013-06-25  8:24   ` Nicolas Ferre [this message]
2013-06-25  8:24     ` Nicolas Ferre

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=51C953CF.4070805@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.