]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: ep0: Make USB30CV happy with SetAddress
authorFelipe Balbi <balbi@ti.com>
Fri, 30 Sep 2011 07:58:36 +0000 (10:58 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:25:50 +0000 (10:25 -0700)
commitd92c6517ce06e2734535ab68d68112108ef6354d
treeec5d96210bd7f8f364d505aa02d97077f5025ad0
parentd469a29614b0379c0c097c441a7a383739c143a2
usb: dwc3: ep0: Make USB30CV happy with SetAddress

According to USB 3.0 Specification, a SetAddress()
while device is in Configured State has an unspecified
behavior (see Section 9.4.6). Still USB30CV wasn't
happy with my Stall reply.

To make that thing happy, just accept the SetAddress()
always. No problems have been observed thus far.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/dwc3/ep0.c