linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] usb/gadget: at91sam9g20 fix end point max packet size
Date: Tue, 10 May 2011 16:55:23 +0200	[thread overview]
Message-ID: <4DC951DB.6030100@atmel.com> (raw)
In-Reply-To: <1305037463-10222-1-git-send-email-plagnioj@jcrosoft.com>

Le 10/05/2011 16:24, Jean-Christophe PLAGNIOL-VILLARD :
> on 9g20 they are the same as the 9261

No! Typo: you mean 9260.

> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

*When* typo corrected:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

> ---
>  drivers/usb/gadget/at91_udc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c
> index 9b7cdb1..41dc093 100644
> --- a/drivers/usb/gadget/at91_udc.c
> +++ b/drivers/usb/gadget/at91_udc.c
> @@ -1767,7 +1767,7 @@ static int __init at91udc_probe(struct platform_device *pdev)
>  	}
>  
>  	/* newer chips have more FIFO memory than rm9200 */
> -	if (cpu_is_at91sam9260()) {
> +	if (cpu_is_at91sam9260() || cpu_is_at91sam9g20()) {
>  		udc->ep[0].maxpacket = 64;
>  		udc->ep[3].maxpacket = 64;
>  		udc->ep[4].maxpacket = 512;


-- 
Nicolas Ferre

  reply	other threads:[~2011-05-10 14:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10 14:24 [PATCH] usb/gadget: at91sam9g20 fix end point max packet size Jean-Christophe PLAGNIOL-VILLARD
2011-05-10 14:55 ` Nicolas Ferre [this message]
2011-05-10 15:43 ` Sergei Shtylyov
2011-05-10 15:50   ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-10 17:05     ` Greg KH
2011-05-10 23:53       ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-11  1:58         ` Greg KH
2011-05-11  3:18           ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-11 13:50             ` Greg KH
2011-05-12  1:30               ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-12  4:47                 ` Greg KH
2011-05-12  7:22                   ` Nicolas Ferre
2011-05-12 15:07                     ` Greg KH
2011-05-12 12:22                   ` Sergei Shtylyov
2011-05-12 15:08                     ` Greg KH
2011-05-12 18:38                       ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-12 18:57                         ` Greg KH
2011-05-10 15:54 ` [PATCH V2] " Jean-Christophe PLAGNIOL-VILLARD
2011-05-13 15:03   ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-13 16:20     ` Greg KH
2011-05-13 16:36       ` 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=4DC951DB.6030100@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 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).