[Linux-stm32] [PATCH 0/4] usb: dwc2: fix host mode external vbus supply management

Amelie Delaunay amelie.delaunay at st.com
Wed Sep 5 11:40:01 UTC 2018


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




More information about the Linux-stm32 mailing list