aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2020-04-17 17:05:37 +0000
committerFelipe Balbi <[email protected]>2020-05-09 08:05:08 +0000
commit0534d40160cb9505073b0ecf5e7210daee319a66 (patch)
tree4ee0827215ebfb2584452a7048fe1e83d87bea95 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
parentusb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272... (diff)
downloadkernel-0534d40160cb9505073b0ecf5e7210daee319a66.tar.gz
kernel-0534d40160cb9505073b0ecf5e7210daee319a66.zip
usb: gadget: tegra-xudc: Fix idle suspend/resume
When the XUDC device is idle (i.e. powergated), care must be taken not to access any registers because that would lead to a crash. Move the call to tegra_xudc_device_mode_off() into the same conditional as the tegra_xudc_powergate() call to make sure we only force device mode off if the XUDC is actually powered up. Fixes: 49db427232fe ("usb: gadget: Add UDC driver for tegra XUSB device mode controller") Acked-by: Jon Hunter <[email protected]> Tested-by: Jon Hunter <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions