summaryrefslogtreecommitdiffstats
path: root/drivers/phy/rockchip
diff options
context:
space:
mode:
authorAl Cooper <alcooperx@gmail.com>2021-12-01 13:06:51 -0500
committerVinod Koul <vkoul@kernel.org>2022-01-23 19:33:15 +0530
commit42fed57046fc74586d7058bd51a1c10ac9c690cb (patch)
tree8e7259ac99c5eb5770a239b4f687ca14ea5d02c7 /drivers/phy/rockchip
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
downloadlinux-42fed57046fc74586d7058bd51a1c10ac9c690cb.tar.bz2
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 'drivers/phy/rockchip')
0 files changed, 0 insertions, 0 deletions