]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
phy: exynos5-usbdrd: gs101: ensure power is gated to SS phy in phy_exit()
authorAndré Draszik <andre.draszik@linaro.org>
Thu, 5 Dec 2024 10:22:00 +0000 (10:22 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 17:25:42 +0000 (18:25 +0100)
commite59119d8169a7a04be43fae0e934ef24147a1793
tree9c6f7ab645e5fd5cab6492606355a64af91f2415
parent45dc8ea1da01e6bc6c8f3fc14851168f31fc6ac7
phy: exynos5-usbdrd: gs101: ensure power is gated to SS phy in phy_exit()

commit 8789b4296aa796f658a19cac7d27365012893de1 upstream.

We currently don't gate the power to the SS phy in phy_exit().

Shuffle the code slightly to ensure the power is gated to the SS phy as
well.

Fixes: 32267c29bc7d ("phy: exynos5-usbdrd: support Exynos USBDRD 3.1 combo phy (HS & SS)")
CC: stable@vger.kernel.org # 6.11+
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20241205-gs101-usb-phy-fix-v4-1-0278809fb810@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/samsung/phy-exynos5-usbdrd.c