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

-- 
2.11.0

Reply via email to