This patchset fixes and improves host mode external vbus supply management, mainly around suspend/resume use cases. It also avoid 'vbus regulator" to be requested lots of times upon each call to dwc2_vbus_supply_init(), especially when pm runtime is enabled. Fabrice Gasnier (4): usb: dwc2: get optional vbus-supply regulator once usb: dwc2: fix a race with external vbus supply usb: dwc2: fix call to vbus supply exit routine, call it unlocked usb: dwc2: fix unbalanced use of external vbus-supply drivers/usb/dwc2/hcd.c | 45 ++++++++++++++++++++++++++++++++++----------- drivers/usb/dwc2/platform.c | 8 ++++++++ 2 files changed, 42 insertions(+), 11 deletions(-) -- 2.7.4