diff options
author | Al Cooper <alcooperx@gmail.com> | 2021-12-01 13:06:51 -0500 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-01-23 19:33:15 +0530 |
commit | 42fed57046fc74586d7058bd51a1c10ac9c690cb (patch) | |
tree | 8e7259ac99c5eb5770a239b4f687ca14ea5d02c7 /tools/perf/scripts/python | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) |
phy: usb: Leave some clocks running during suspend
The PHY client driver does a phy_exit() call on suspend or rmmod and
the PHY driver needs to know the difference because some clocks need
to be kept running for suspend but can be shutdown on unbind/rmmod
(or if there are no PHY clients at all).
The fix is to use a PM notifier so the driver can tell if a PHY
client is calling exit() because of a system suspend or a driver
unbind/rmmod.
Signed-off-by: Al Cooper <alcooperx@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211201180653.35097-2-alcooperx@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions