All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] usb gadget: update inode.c to support full speed only udc
@ 2006-05-25  7:22 Milan Svoboda
  0 siblings, 0 replies; only message in thread
From: Milan Svoboda @ 2006-05-25  7:22 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

From: Milan Svoboda <msvoboda@ra.rockwell.com>

Add support for full speed only udc controllers.

This patch is against 2.6.16.13.

Please apply.

Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com>
---




[-- Attachment #2: inode.c.patch --]
[-- Type: text/plain, Size: 451 bytes --]

--- orig/drivers/usb/gadget/inode.c	2006-05-15 10:21:34.000000000 +0000
+++ new_gadget/drivers/usb/gadget/inode.c	2006-05-15 11:04:40.000000000 +0000
@@ -1758,7 +1758,11 @@ static int gadgetfs_probe (struct usb_ga
 }
 
 static struct usb_gadget_driver probe_driver = {
+#ifdef	HIGHSPEED
 	.speed		= USB_SPEED_HIGH,
+#else
+	.speed		= USB_SPEED_FULL,
+#endif
 	.bind		= gadgetfs_probe,
 	.unbind		= gadgetfs_nop,
 	.setup		= (void *)gadgetfs_nop,






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-25  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25  7:22 [PATCH 1/5] usb gadget: update inode.c to support full speed only udc Milan Svoboda

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.