Re: [PATCH 0/4] usb: dwc2: fix host mode external vbus supply management
From: Artur Petrosyan
Date: Mon Sep 10 2018 - 06:18:29 EST
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@xxxxxxxxxxxx>
The patchset has been tested on Synopsys HAPS-DX platform.
Thanks,
Artur