linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb/gadget: at91sam9g20 fix end point max packet size
@ 2011-05-10 14:24 Jean-Christophe PLAGNIOL-VILLARD
  2011-05-10 14:55 ` Nicolas Ferre
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-05-10 14:24 UTC (permalink / raw)
  To: linux-arm-kernel

on 9g20 they are the same as the 9261

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.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;
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2011-05-13 16:36 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).