Messages in this thread | | | Subject | Re: [PATCH 1/3] phy: usb: Leave some clocks running during suspend | From | Florian Fainelli <> | Date | Wed, 1 Dec 2021 12:39:57 -0800 |
| |
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@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
| |