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

Artur Petrosyan Arthur.Petrosyan at synopsys.com
Mon Sep 10 10:18:22 UTC 2018


Hi,

On 9/5/2018 15:41, Amelie Delaunay wrote:
> 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(-)
> 
Tested-by: Artur Petrosyan <arturp at synopsys.com>

The patchset has been tested on Synopsys HAPS-DX platform.

Thanks,
Artur



More information about the Linux-stm32 mailing list