summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFei Shao <fshao@chromium.org>2026-06-26 16:21:51 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-10 15:56:19 +0200
commite69027c25361b6044c7928715667586cc5469063 (patch)
tree6093db8cdf7e3d748819aee5e419870918e5063e /tools/perf/scripts/python
parentff14cf71c89cbf4cbde9add29dcc72b0fc8cd88f (diff)
usb: mtu3: allow system suspend during active gadget connection
When operating in gadget mode connected to a USB host, system suspend fails with -EBUSY because active peripheral connections block suspend entry. Fix this by restricting the -EBUSY check to runtime autosuspend (PMSG_IS_AUTO). For system suspend (!PMSG_IS_AUTO), perform soft disconnect to disconnect from the bus and allow MAC sleep. Fixes: 427c66422e14 ("usb: mtu3: support suspend/resume for device mode") Signed-off-by: Fei Shao <fshao@chromium.org> Link: https://patch.msgid.link/20260626082218.2750459-2-fshao@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions