From: Alan Stern Date: Tue, 7 Jun 2011 15:33:01 +0000 (-0400) Subject: USB: dummy-hcd needs the has_tt flag X-Git-Tag: v3.0-rc3~29^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5c69f3f0dcf9b569c8f3ad67f3af92cfcedac43;p=profile%2Fivi%2Fkernel-x86-ivi.git USB: dummy-hcd needs the has_tt flag 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c index 61ff927..d3dcabc 100644 --- a/drivers/usb/gadget/dummy_hcd.c +++ b/drivers/usb/gadget/dummy_hcd.c @@ -1906,6 +1906,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) {