diff options
author | Al Cooper <[email protected]> | 2021-12-01 13:06:51 -0500 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-01-23 19:33:15 +0530 |
commit | 42fed57046fc74586d7058bd51a1c10ac9c690cb (patch) | |
tree | 8e7259ac99c5eb5770a239b4f687ca14ea5d02c7 /net/lapb/lapb_timer.c | |
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 <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions