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)
commit2646021e1d5235c6c2143d27405fb057e5560d2b
treeec5d96210bd7f8f364d505aa02d97077f5025ad0
parent5b253d88cc6c65a23cefc457a5a4ef139913c5fc
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