phy: phy-snps-eusb2: fix clock imbalance on phy_exit()
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 23 May 2025 08:48:33 +0000 (10:48 +0200)
committerVinod Koul <vkoul@kernel.org>
Sun, 15 Jun 2025 16:32:41 +0000 (22:02 +0530)
commit641fa5b515a6900b1452cc92d30d1ab391e04414
tree0aabbb9b44836cc8c830fde54624c8795e36da84
parent9c8504861cc4102463f31fe1f5e120a6deb15c15
phy: phy-snps-eusb2: fix clock imbalance on phy_exit()

Make sure to disable all clocks enabled at phy_init() also on
phy_exit().

Fixes: c4098f3e6134 ("phy: phy-snps-eusb2: add support for exynos2200")
Cc: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Acked-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20250523084839.11015-2-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/phy-snps-eusb2.c