Skip to content

Commit 9cf118a

Browse files
Dan Carpentervinodkoul
authored andcommitted
phy: rockchip-samsung-dcphy: Add missing assignment
The "ret = " was accidentally dropped so the error handling doesn't work. Fixes: b2a1a2a ("phy: rockchip: Add Samsung MIPI D-/C-PHY driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/e64265a4-9543-4728-a49f-ea910fccef7c@stanley.mountain Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent e153fde commit 9cf118a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ static __maybe_unused int samsung_mipi_dcphy_runtime_resume(struct device *dev)
16531653
return ret;
16541654
}
16551655

1656-
clk_prepare_enable(samsung->ref_clk);
1656+
ret = clk_prepare_enable(samsung->ref_clk);
16571657
if (ret) {
16581658
dev_err(samsung->dev, "Failed to enable reference clock, %d\n", ret);
16591659
clk_disable_unprepare(samsung->pclk);

0 commit comments

Comments
 (0)