Messages in this thread Patch in this message | | | Date | Thu, 25 May 2006 09:22:21 +0200 | From | Milan Svoboda <> | Subject | [PATCH 1/5] usb gadget: update inode.c to support full speed only udc |
| |
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> ---
--- 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,
| |