linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] usb: dwc3: gadget: Fix isoc interrupt check
@ 2022-10-25 22:10 Thinh Nguyen
  2022-10-25 22:10 ` [PATCH v3 1/2] usb: dwc3: gadget: Stop processing more requests on IMI Thinh Nguyen
  2022-10-25 22:10 ` [PATCH v3 2/2] usb: dwc3: gadget: Don't set IMI for no_interrupt Thinh Nguyen
  0 siblings, 2 replies; 5+ messages in thread
From: Thinh Nguyen @ 2022-10-25 22:10 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman, Thinh Nguyen, linux-usb
  Cc: John Youn, stable, Jeff Vanhoof, Dan Vacura

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
-- 
2.28.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-26  8:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 22:10 [PATCH v3 0/2] usb: dwc3: gadget: Fix isoc interrupt check Thinh Nguyen
2022-10-25 22:10 ` [PATCH v3 1/2] usb: dwc3: gadget: Stop processing more requests on IMI Thinh Nguyen
2022-10-26  8:24   ` Jeff Vanhoof
2022-10-25 22:10 ` [PATCH v3 2/2] usb: dwc3: gadget: Don't set IMI for no_interrupt Thinh Nguyen
2022-10-26  8:23   ` Jeff Vanhoof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).