summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc2
diff options
context:
space:
mode:
authorTejas Joglekar <tejas.joglekar@synopsys.com>2018-12-10 16:08:13 +0530
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-12-10 12:50:01 +0200
commit244add8ebfb231c39db9e33b204bd0ce8f24f782 (patch)
tree1bdb0c6e32c71176c7cad47110f1fe434e388041 /drivers/usb/dwc2
parentcc10ce0c51b13d1566d0ec1dcb472fb86330b391 (diff)
usb: dwc3: gadget: Disable CSP for stream OUT ep
In stream mode, when fast-forwarding TRBs, the stream number is not cleared causing the new stream to not get assigned. So we don't want controller to carry on transfers when short packet is received. So disable the CSP for stream capable endpoint. This is based on the 3.30a Programming guide, where table 3-1 device descriptor structure field definitions says for CSP bit If this bit is 0, the controller generates an XferComplete event and remove the stream. So if we keep CSP as 1 then switching between streams would not happen as in stream mode, when fast-forwarding TRBs, the stream number is not cleared causing the new stream to not get assigned. Signed-off-by: Tejas Joglekar <joglekar@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2')
0 files changed, 0 insertions, 0 deletions