aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWesley Cheng <[email protected]>2020-12-29 15:05:35 -0800
committerGreg Kroah-Hartman <[email protected]>2021-01-04 16:47:05 +0100
commit77adb8bdf4227257e26b7ff67272678e66a0b250 (patch)
tree69713ca410761f2bdb0868bcdabdf29dbb62e99d /tools/perf/scripts/python
parent8280de6ab07b4c63eb607662754f151e539031a1 (diff)
usb: dwc3: gadget: Allow runtime suspend if UDC unbinded
The DWC3 runtime suspend routine checks for the USB connected parameter to determine if the controller can enter into a low power state. The connected state is only set to false after receiving a disconnect event. However, in the case of a device initiated disconnect (i.e. UDC unbind), the controller is halted and a disconnect event is never generated. Set the connected flag to false if issuing a device initiated disconnect to allow the controller to be suspended. Signed-off-by: Wesley Cheng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions