diff options
author | Justin Chen <justinpopo6@gmail.com> | 2022-10-06 00:30:18 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-11-07 07:50:25 +0300 |
commit | 8484199c09347bdd5d81ee8a2bc530850f900797 (patch) | |
tree | c4c6ccae3134f18d8ca04d510f65bdcd27c5adc0 /drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c | |
parent | 700c44b508020a3ea29d297c677f8d4ab14b7e6a (diff) | |
download | linux-8484199c09347bdd5d81ee8a2bc530850f900797.tar.xz |
phy: usb: Fix clock imbalance for suspend/resume
We should be disabling clocks when wake from USB is not needed. Since
this wasn't done, we had a clock imbalance since clocks were always
being enabled on resume.
Fixes: ae532b2b7aa5 ("phy: usb: Add "wake on" functionality for newer Synopsis XHCI controllers")
Fixes: b0c0b66c0b43 ("phy: usb: Add support for wake and USB low power mode for 7211 S2/S5")
Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/1665005418-15807-7-git-send-email-justinpopo6@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c')
-rw-r--r-- | drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c b/drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c index f78cff24eec8..76cf4280d7ed 100644 --- a/drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c +++ b/drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c @@ -430,7 +430,6 @@ void brcm_usb_dvr_init_7216(struct brcm_usb_init_params *params) params->family_name = "7216"; params->ops = &bcm7216_ops; - params->suspend_with_clocks = true; } void brcm_usb_dvr_init_7211b0(struct brcm_usb_init_params *params) @@ -440,5 +439,4 @@ void brcm_usb_dvr_init_7211b0(struct brcm_usb_init_params *params) params->family_name = "7211"; params->ops = &bcm7211b0_ops; - params->suspend_with_clocks = true; } |