]> 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)
commit6b3cfb878840f43f83c92105cc0bcda89ab82a99
treeec5d96210bd7f8f364d505aa02d97077f5025ad0
parentace9bcd18bc28cba5800c0a7feb0d77bfcf1f2fa
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