summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2020-09-10 17:11:27 +0800
committerFelipe Balbi <balbi@kernel.org>2020-10-02 09:57:45 +0300
commit249f0a25e8becebe351e0f70e00fc84f47d6584d (patch)
tree10bd09c0ba5c3c0b10e169caa295ce34fde94202 /drivers/misc
parent87e1dcd48970ea1cf2d2ce368eb70a46c2eff3ee (diff)
downloadlinux-249f0a25e8becebe351e0f70e00fc84f47d6584d.tar.bz2
usb: cdns3: gadget: handle sg list use case at completion correctly
- Judge each TRB has been handled at cdns3_trb_handled, since the DMA pointer may be at the middle of the TD, we can't consider this TD has finished at that time. - Calculate req->actual according to finished TRBs. - Handle short transfer for sg list use case correctly. When the short transfer occurs, we check OUT_SMM at TRB to see if it is the last TRB. Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions