diff options
author | Felipe Balbi <balbi@ti.com> | 2014-09-04 10:28:10 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-05 09:16:55 -0500 |
commit | 0b93a4c838fa10370d72f86fe712426ac63804de (patch) | |
tree | a834b4e0ff9188981ec9c4f1ac5bea773b6fd0e6 /tools/power/cpupower | |
parent | 81a60b7f5c143ab3cdcd9943c9b4b7c63c32fc31 (diff) | |
download | talos-op-linux-0b93a4c838fa10370d72f86fe712426ac63804de.tar.gz talos-op-linux-0b93a4c838fa10370d72f86fe712426ac63804de.zip |
usb: dwc3: fix TRB completion when multiple TRBs are started
After commit 2ec2a8be (usb: dwc3: gadget:
always enable IOC on bulk/interrupt transfers)
we created a situation where it was possible to
hang a bulk/interrupt endpoint if we had more
than one pending request in our queue and they
were both started with a single Start Transfer
command.
The problems triggers because we had not enabled
Transfer In Progress event for those endpoints
and we were not able to process early giveback
of requests completed without LST bit set.
Fix the problem by finally enabling Xfer In Progress
event for all endpoint types, except control.
Fixes: 2ec2a8be (usb: dwc3: gadget: always
enable IOC on bulk/interrupt transfers)
Cc: <stable@vger.kernel.org> # v3.14+
Reported-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/power/cpupower')
0 files changed, 0 insertions, 0 deletions