[PATCH 1/5] usb gadget: update inode.c to support full speed only udc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Milan Svoboda <[email protected]>

Add support for full speed only udc controllers.

This patch is against 2.6.16.13.

Please apply.

Signed-off-by: Milan Svoboda <[email protected]>
---



--- 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,






[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux