summaryrefslogtreecommitdiff
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
authorMayank Rana <mrana@codeaurora.org>2015-01-13 16:55:59 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:06:39 -0700
commit3bbd6278f2450c2a594b160f527dee1b5bb4c037 (patch)
tree49ab72a56616222adf9628795b8eb97652b47b4f /include/linux/cdev.h
parent4083e89ea0fd90e9bfa348ede1c223150cbad6c3 (diff)
dwc3: gadget: Clear per endpoint ring buffer when disabling endpoint
Current code is not clearing ring buffer once it is being initialized. Issue is seen where xferinprogress interrupt is received with isochronous endpoint due to stale TRB (for isochronous endpoint we are using LINK TRB), we enqueue new request buffer using update transfer command. If stale TRB is having HWO bit being set, controller is trying to execute that particular TRB which results into error on bus as that request buffer is already being freed or used by other subsystem. Fix this issue by clearing per endpoint ring buffer when disabling endpoint. CRs-Fixed: 782340 Change-Id: I46e6a46400367d6ebf55bdb445a3330c0a4d77e1 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions