diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 15:09:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 15:09:47 -0500 |
commit | 55b81e6f2795484ea8edf5805c95c007cacfa736 (patch) | |
tree | c3724975107857fcc03b5dd649c462e4f72397be /drivers/usb/gadget/inode.c | |
parent | 5983faf942f260023e547f3c5f38c1033c35cc9b (diff) | |
parent | 08e87d0d773dc9ca5faf4c3306e238ed0ea129b0 (diff) |
Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
* 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (232 commits)
USB: Add USB-ID for Multiplex RC serial adapter to cp210x.c
xhci: Clean up 32-bit build warnings.
USB: update documentation for usbmon
usb: usb-storage doesn't support dynamic id currently, the patch disables the feature to fix an oops
drivers/usb/class/cdc-acm.c: clear dangling pointer
drivers/usb/dwc3/dwc3-pci.c: introduce missing kfree
drivers/usb/host/isp1760-if.c: introduce missing kfree
usb: option: add ZD Incorporated HSPA modem
usb: ch9: fix up MaxStreams helper
USB: usb-skeleton.c: cleanup open_count
USB: usb-skeleton.c: fix open/disconnect race
xhci: Properly handle COMP_2ND_BW_ERR
USB: remove dead code from suspend/resume path
USB: add quirk for another camera
drivers: usb: wusbcore: Fix dependency for USB_WUSB
xhci: Better debugging for critical host errors.
xhci: Be less verbose during URB cancellation.
xhci: Remove debugging about ring structure allocation.
xhci: Remove debugging about toggling cycle bits.
xhci: Remove debugging for individual transfers.
...
Diffstat (limited to 'drivers/usb/gadget/inode.c')
-rw-r--r-- | drivers/usb/gadget/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c index 6b7ea25af0fe..ae04266dba1b 100644 --- a/drivers/usb/gadget/inode.c +++ b/drivers/usb/gadget/inode.c | |||
@@ -1766,9 +1766,9 @@ gadgetfs_suspend (struct usb_gadget *gadget) | |||
1766 | 1766 | ||
1767 | static struct usb_gadget_driver gadgetfs_driver = { | 1767 | static struct usb_gadget_driver gadgetfs_driver = { |
1768 | #ifdef CONFIG_USB_GADGET_DUALSPEED | 1768 | #ifdef CONFIG_USB_GADGET_DUALSPEED |
1769 | .speed = USB_SPEED_HIGH, | 1769 | .max_speed = USB_SPEED_HIGH, |
1770 | #else | 1770 | #else |
1771 | .speed = USB_SPEED_FULL, | 1771 | .max_speed = USB_SPEED_FULL, |
1772 | #endif | 1772 | #endif |
1773 | .function = (char *) driver_desc, | 1773 | .function = (char *) driver_desc, |
1774 | .unbind = gadgetfs_unbind, | 1774 | .unbind = gadgetfs_unbind, |
@@ -1792,7 +1792,7 @@ static int gadgetfs_probe (struct usb_gadget *gadget) | |||
1792 | } | 1792 | } |
1793 | 1793 | ||
1794 | static struct usb_gadget_driver probe_driver = { | 1794 | static struct usb_gadget_driver probe_driver = { |
1795 | .speed = USB_SPEED_HIGH, | 1795 | .max_speed = USB_SPEED_HIGH, |
1796 | .unbind = gadgetfs_nop, | 1796 | .unbind = gadgetfs_nop, |
1797 | .setup = (void *)gadgetfs_nop, | 1797 | .setup = (void *)gadgetfs_nop, |
1798 | .disconnect = gadgetfs_nop, | 1798 | .disconnect = gadgetfs_nop, |