]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: gadget: don't issue End Transfer if we have started reqs
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 11 Apr 2018 07:32:52 +0000 (10:32 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 21 May 2018 07:01:00 +0000 (10:01 +0300)
commitd513320f1fd013d789516a51823a11dc23a3fd55
tree5007a917445fc93dbe68e02cfdfac7e23ecd3b61
parente1d542f712e104614cfe906ff6e316dd1828bbf5
usb: dwc3: gadget: don't issue End Transfer if we have started reqs

In case we have many started requests and one of them in the middle is
completed with Missed Isoc, let's not End Transfer as that would
result in us loosing (possibly) many more intervals.

Instead, let's allow the controller to go through its list of started
requests.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c