All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] usb: dwc3: gadget: Improve END_TRANSFER handling
@ 2019-12-17  1:46 Thinh Nguyen
  2019-12-17  1:46 ` [PATCH 1/3] usb: dwc3: gadget: Check END_TRANSFER completion Thinh Nguyen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thinh Nguyen @ 2019-12-17  1:46 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman, Thinh Nguyen, linux-usb; +Cc: John Youn

This patch series improves the handling of the END_TRANSFER command:

1) Don't issue multiple END_TRANSFER commands while the previous hasn't
   completed.
2) Don't issue START_TRANSFER command while END_TRANSFER hasn't completed
3) Remove arbirary 100us delay



Thinh Nguyen (3):
  usb: dwc3: gadget: Check END_TRANSFER completion
  usb: dwc3: gadget: Delay starting transfer
  usb: dwc3: gadget: Remove END_TRANSFER delay

 drivers/usb/dwc3/core.h   |  2 ++
 drivers/usb/dwc3/ep0.c    |  4 +++-
 drivers/usb/dwc3/gadget.c | 34 +++++++++++++++++++++-------------
 3 files changed, 26 insertions(+), 14 deletions(-)

-- 
2.11.0


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

end of thread, other threads:[~2019-12-17  1:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-17  1:46 [PATCH 0/3] usb: dwc3: gadget: Improve END_TRANSFER handling Thinh Nguyen
2019-12-17  1:46 ` [PATCH 1/3] usb: dwc3: gadget: Check END_TRANSFER completion Thinh Nguyen
2019-12-17  1:46 ` [PATCH 2/3] usb: dwc3: gadget: Delay starting transfer Thinh Nguyen
2019-12-17  1:46 ` [PATCH 3/3] usb: dwc3: gadget: Remove END_TRANSFER delay Thinh Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.