diff options
author | Roger Quadros <[email protected]> | 2024-11-04 16:00:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-11-05 13:55:06 +0100 |
commit | 9cfb31e4c89d200d8ab7cb1e0bb9e6e8d621ca0b (patch) | |
tree | 7fc9aa571ab485dc7c61b5740e3926db60eaa1db /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 029778a4fd2c90c2e76a902b797c2348a722f1b8 (diff) |
usb: dwc3: fix fault at system suspend if device was already runtime suspended
If the device was already runtime suspended then during system suspend
we cannot access the device registers else it will crash.
Also we cannot access any registers after dwc3_core_exit() on some
platforms so move the dwc3_enable_susphy() call to the top.
Cc: [email protected] # v5.15+
Reported-by: William McVicker <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]
Fixes: 705e3ce37bcc ("usb: dwc3: core: Fix system suspend on TI AM62 platforms")
Signed-off-by: Roger Quadros <[email protected]>
Acked-by: Thinh Nguyen <[email protected]>
Tested-by: Will McVicker <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions