diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2025-04-17 19:40:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-25 13:21:09 +0200 |
commit | af076a41f8a28faf9ceb9dd2d88aef2c202ef39a (patch) | |
tree | fab6a95fcc3fcf79df657c8ccf8587208feaf09a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0bc3e641157c32d3bf23d3e14aefb159842d74ab (diff) |
usb: dwc2: also exit clock_gating when stopping udc while suspended
It is possible that the gadget will be disabled, while the udc is
suspended. When enabling the udc in that case, the clock gating
will not be enabled again. Leaving the phy unclocked. Even when the
udc is not enabled, connecting this powered but not clocked phy leads
to enumeration errors on the host side.
To ensure that the clock gating will be in an valid state, we ensure
that the clock gating will be enabled before stopping the udc.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Link: https://lore.kernel.org/r/20250417-dwc2_clock_gating-v1-1-8ea7c4d53d73@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions