]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: Set the ClearPendIN bit on Clear Stall EP command
authorJohn Youn <johnyoun@synopsys.com>
Wed, 1 Jun 2016 00:49:56 +0000 (17:49 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 1 Jun 2016 06:53:42 +0000 (09:53 +0300)
commit33e22fc9dc2b3b556dcfab6d8416f984a134085a
tree2a46613c494e2a9b2908c993181122628a2e7458
parent48d6063d5c0ae2afeb7323707745ca5691c9f495
usb: dwc3: Set the ClearPendIN bit on Clear Stall EP command

As of core revision 2.60a the recommended programming model is to set
the ClearPendIN bit when issuing a Clear Stall EP command for IN
endpoints. This is to prevent an issue where some (non-compliant) hosts
may not send ACK TPs for pending IN transfers due to a mishandled error
condition. Synopsys STAR 9000614252.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c