]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67d26d5bbadf5d32d5f45a54a3263a27e938e368
treed6eb579b863518df3886bdfeb05a9ca17f7746a3
parentd71fae2610e93fa28713de0ae913a94d89e2ff54
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