]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: Add ENDXFER command polling
authorJohn Youn <johnyoun@synopsys.com>
Mon, 22 Aug 2016 22:39:13 +0000 (15:39 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:19 +0000 (12:13 +0300)
commit06281d460fc5d8df843786341ded16d85f50dd3d
treea32dc53a8045be7b9867b77ed4fdb93095874fff
parentda605f5f842163921f851e34402da6f5829a6328
usb: dwc3: Add ENDXFER command polling

ENDXFER polling is available on version 3.10a and later of the
DWC_usb3 (USB 3.0) controller. With this feature, the software can poll
the CMDACT bit in the DEPCMD register after issuing an ENDXFER command.
This feature is enabled by writing GUCTL2[14].

This feature is NOT available on the DWC_usb31 (USB 3.1) IP.

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