[PATCH AUTOSEL 4.19 115/146] usb: dwc2: fix a race with external vbus supply

2018-10-31 Thread Sasha Levin
From: Fabrice Gasnier [ Upstream commit 41ee1ea21052583eaf5487dfa0d0c907c9667548 ] There's a race with root hub resume, when using external vbus supply. Root hub gets resumed, but runtime pm autosuspend runs as external vbus supply isn't enabled. So, host never exit from power down properly.

[PATCH AUTOSEL 4.19 115/146] usb: dwc2: fix a race with external vbus supply

2018-10-31 Thread Sasha Levin
From: Fabrice Gasnier [ Upstream commit 41ee1ea21052583eaf5487dfa0d0c907c9667548 ] There's a race with root hub resume, when using external vbus supply. Root hub gets resumed, but runtime pm autosuspend runs as external vbus supply isn't enabled. So, host never exit from power down properly.