Skip to content
Commit c2cd3452 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Felipe Balbi
Browse files

usb: dwc3: support continuous runtime PM with dual role



The DRD module calls dwc3_set_mode() on role switches, i.e. when a device is
being plugged in. In order to support continuous runtime power management when
plugging in / unplugging a cable, we need to call pm_runtime_get_sync() in
this path.

Signed-off-by: default avatarMartin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent e2e77a94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment