linux-uconsole/drivers/phy/broadcom
Al Cooper 98bc06c46d phy: usb: Leave some clocks running during suspend
[ Upstream commit 42fed57046 ]

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>
2022-02-23 12:01:05 +01:00
..
Kconfig phy: bcm63xx-usbh: Add BCM63xx USBH driver 2020-07-21 22:59:58 +05:30
Makefile phy: bcm63xx-usbh: Add BCM63xx USBH driver 2020-07-21 22:59:58 +05:30
phy-bcm-cygnus-pcie.c
phy-bcm-kona-usb2.c
phy-bcm-ns-usb2.c
phy-bcm-ns-usb3.c phy: phy-bcm-ns-usb3: convert to readl_poll_timeout_atomic() 2020-09-08 09:56:10 +05:30
phy-bcm-ns2-pcie.c
phy-bcm-ns2-usbdrd.c phy: phy-bcm-ns2-usbdrd: convert to readl_poll_timeout_atomic() 2020-09-08 09:56:10 +05:30
phy-bcm-sr-pcie.c
phy-bcm-sr-usb.c phy: phy-bcm-sr-usb: convert to readl_poll_timeout_atomic() 2020-09-08 09:56:11 +05:30
phy-bcm63xx-usbh.c phy: bcm63xx-usbh: Add BCM63xx USBH driver 2020-07-21 22:59:58 +05:30
phy-brcm-sata.c
phy-brcm-usb-init-synopsys.c phy: usb: Fix incorrect clearing of tca_drv_sel bit in SETUP reg for 7211 2020-10-28 21:40:56 +05:30
phy-brcm-usb-init.c
phy-brcm-usb-init.h phy: usb: Fix misuse of IS_ENABLED 2021-06-16 12:01:43 +02:00
phy-brcm-usb.c phy: usb: Leave some clocks running during suspend 2022-02-23 12:01:05 +01:00