USB: dummy-hcd needs the has_tt flag
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 7 Jun 2011 15:33:01 +0000 (11:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 16:05:43 +0000 (09:05 -0700)
commitc5c69f3f0dcf9b569c8f3ad67f3af92cfcedac43
treed6eb579b863518df3886bdfeb05a9ca17f7746a3
parent21c13a4f7bc185552c4b402b792c3bbb9aa69df0
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 <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dummy_hcd.c