forked from luck/tmp_suning_uos_patched
98bc06c46d
[ Upstream commit 42fed57046fc74586d7058bd51a1c10ac9c690cb ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
phy-bcm-cygnus-pcie.c | ||
phy-bcm-kona-usb2.c | ||
phy-bcm-ns-usb2.c | ||
phy-bcm-ns-usb3.c | ||
phy-bcm-ns2-pcie.c | ||
phy-bcm-ns2-usbdrd.c | ||
phy-bcm-sr-pcie.c | ||
phy-bcm-sr-usb.c | ||
phy-bcm63xx-usbh.c | ||
phy-brcm-sata.c | ||
phy-brcm-usb-init-synopsys.c | ||
phy-brcm-usb-init.c | ||
phy-brcm-usb-init.h | ||
phy-brcm-usb.c |