path: root/drivers
diff options
authorAlan Stern <stern@rowland.harvard.edu>2011-06-07 11:33:01 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-08 10:23:10 -0700
commitb43906bf751f5d8f26425a809806bbc1b6a33422 (patch)
treedcede60422c57c2d4880e28563e8b602fbe9ad55 /drivers
parent262e2d9d559334e09bc80516132ea99d82f97b8c (diff)
USB: dummy-hcd needs the has_tt flag
commit c5c69f3f0dcf9b569c8f3ad67f3af92cfcedac43 upstream. Like with other host controllers capable of operating at both high speed and full speed, we need to indicate that the emulated controller presented by dummy-hcd has this ability. Otherwise usbcore will not accept full-speed gadgets under dummy-hcd. This patch (as1469) sets the appropriate has_tt flag. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c
index 5e0966485188..7adb671cc203 100644
--- a/drivers/usb/gadget/dummy_hcd.c
+++ b/drivers/usb/gadget/dummy_hcd.c
@@ -1886,6 +1886,7 @@ static int dummy_hcd_probe(struct platform_device *pdev)
if (!hcd)
return -ENOMEM;
the_controller = hcd_to_dummy (hcd);
+ hcd->has_tt = 1;
retval = usb_add_hcd(hcd, 0, 0);
if (retval != 0) {