mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 12:00:22 +09:00
[ Upstream commit8484199c09] 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:ae532b2b7a("phy: usb: Add "wake on" functionality for newer Synopsis XHCI controllers") Fixes:b0c0b66c0b("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> Signed-off-by: Sasha Levin <sashal@kernel.org>