]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: phy-snps-eusb2: fix repeater imbalance on phy_init() failure
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 23 May 2025 08:48:34 +0000 (10:48 +0200)
committerVinod Koul <vkoul@kernel.org>
Sun, 15 Jun 2025 16:32:41 +0000 (22:02 +0530)
commit3232a6b0d834569f71aa898401288af6b4ab781d
treea86b855f0147f4d25feec4f92ebfd408b1509ae5
parent641fa5b515a6900b1452cc92d30d1ab391e04414
phy: phy-snps-eusb2: fix repeater imbalance on phy_init() failure

Make sure to disable the repeater PHY also on phy_init() failure.

Fixes: 3584f6392f09 ("phy: qcom: phy-qcom-snps-eusb2: Add support for eUSB2 repeater")
Cc: Abel Vesa <abel.vesa@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20250523084839.11015-3-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/phy-snps-eusb2.c