linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: dwc3: gadget: Fix fullspeed interval setting
@ 2021-02-08 21:53 Thinh Nguyen
  2021-02-08 21:53 ` [PATCH 1/2] usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1 Thinh Nguyen
  2021-02-08 21:53 ` [PATCH 2/2] usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt Thinh Nguyen
  0 siblings, 2 replies; 3+ messages in thread
From: Thinh Nguyen @ 2021-02-08 21:53 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman, Thinh.Nguyen, linux-usb
  Cc: John Youn, stable

The dwc3 driver did not account for operating in fullspeed when setting
DEPCFG.bInterval_m1. This series fixes it.

Note that for some bInterval, some IP versions may not exhibit invalid behavior
from the invalid DEPCFG.bInterval_m1 setting, which may mask this issue.


Thinh Nguyen (2):
  usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
  usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt

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


base-commit: d8c849037d9398abe6a5f5d065eafc777eb3bdaf
-- 
2.28.0


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

end of thread, other threads:[~2021-02-08 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 21:53 [PATCH 0/2] usb: dwc3: gadget: Fix fullspeed interval setting Thinh Nguyen
2021-02-08 21:53 ` [PATCH 1/2] usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1 Thinh Nguyen
2021-02-08 21:53 ` [PATCH 2/2] usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt Thinh Nguyen

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).