]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: gadget: check for Missed Isoc from event status
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 29 Mar 2018 09:49:28 +0000 (12:49 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 21 May 2018 07:00:53 +0000 (10:00 +0300)
commit6d8a019614f3a7630e0a2c1be4bf1cfc23acf56e
tree7fb62812df076b56d4382408e1bcd7e2977b04c9
parent58f0218a271d297487aff56b0982a032c8ea35b3
usb: dwc3: gadget: check for Missed Isoc from event status

In case we get an event with status set to Missed Isoc, this means we
have missed an isochronous interval and should issue End Transfer
command and wait for the following XferNotReady.

Let's do that early, rather than late.

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