mbox series

[v3,0/2] usb: dwc3: gadget: Fix isoc interrupt check

Message ID cover.1666735451.git.Thinh.Nguyen@synopsys.com (mailing list archive)
Headers show
Series usb: dwc3: gadget: Fix isoc interrupt check | expand

Message

Thinh Nguyen Oct. 25, 2022, 10:10 p.m. UTC
Fix issues where usb_request->no_interrupt is set for isoc transfers.
* Make sure no interrupt is asserted if no_interrupt is set
* Make sure to stop reclaiming TRBs when the driver needs to stop


Thinh Nguyen (2):
  usb: dwc3: gadget: Stop processing more requests on IMI
  usb: dwc3: gadget: Don't set IMI for no_interrupt

 drivers/usb/dwc3/gadget.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Changes in v3:
* Only set IMI to the last TRB of the chained TRBs

Changes in v2:
* Fix missing cover letter subject
* No need to check for the last chained TRB

base-commit: fb8f60dd1b67520e0e0d7978ef17d015690acfc1