Messages in this thread | | | Date | Thu, 27 Apr 2017 17:02:49 +0400 | From | Sevak Arakelyan <> | Subject | [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(-)
-- 2.11.0
| |