Skip to content

usb: dwc2: Replace polling code with function calls

Sevak Arakelyan lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2usb: dwc2: Move polling function to core.c.drivers/usb/dwc2/core.c drivers/usb/dwc2/core.h drivers/usb/dwc2/gadget.c+27 -140 replies
2/2usb: dwc2: Use common polling function.drivers/usb/dwc2/core.c drivers/usb/dwc2/gadget.c drivers/usb/dwc2/hcd.c+27 -760 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] usb: dwc2: Replace polling code with function calls

This series moves dwc2_hsotg_wait_bit_set polling function to core.c and replaces all the register polling parts of code with function calls

Tested on HAPS platform with DWC_hsotg IP version 3.30a.

Sevak Arakelyan (2):
usb: dwc2: Move polling function to core.c.
usb: dwc2: Use common polling function.

 drivers/usb/dwc2/core.c   | 84 ++++++++++++++++++++++-------------------------
 drivers/usb/dwc2/core.h   |  4 +++
 drivers/usb/dwc2/gadget.c | 38 +++------------------
 drivers/usb/dwc2/hcd.c    | 18 ++++------
 4 files changed, 54 insertions(+), 90 deletions(-)
Signature · 1 line
2.11.0