[PATCH 1/3] phy: usb: Leave some clocks running during suspend
Florian Fainelli
f.fainelli at gmail.com
Wed Dec 1 12:39:57 PST 2021
On 12/1/21 10:06 AM, Al Cooper wrote:
> 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 at gmail.com>
Acked-by: Florian Fainelli <f.fainelli at gmail.com>
--
Florian
More information about the linux-phy
mailing list