diff options
| author | 2016-10-21 13:07:09 +0300 | |
|---|---|---|
| committer | 2016-11-03 10:38:40 +0200 | |
| commit | 6cb2e4e3de10893f38dbf3923a9cc50c76548a89 (patch) | |
| tree | d62c8961066bc0feb8462616bb90176fd3558661 /include/linux/dynamic_queue_limits.h | |
| parent | usb: dwc3: gadget: wait for End Transfer to complete (diff) | |
usb: dwc3: gadget: cope with XferNotReady before usb_ep_queue()
If XferNotReady comes before usb_ep_queue() we will
set our PENDING request flag and wait for a
request. However, originally, we were assuming
usb_ep_queue() would always happen before our first
XferNotReady and that causes a corner case where we
could try to issue ENDTRANSFER command before
STARTTRANSFER.
Let's fix that by tracking endpoints which have been
started.
Reported-by: Janusz Dziedzic <januszx.dziedzic@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include/linux/dynamic_queue_limits.h')
0 files changed, 0 insertions, 0 deletions
