]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: rockchip: samsung-hdptx: Do no set rk_hdptx_phy->rate in case of errors
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 18 Mar 2025 12:35:38 +0000 (14:35 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Apr 2025 11:48:03 +0000 (17:18 +0530)
commit1f4d382769e3b38dfc498c806811dae856e40f31
tree14e2b1bf2ee4d24b55ce954724e0afddcf29a48e
parent0422253ac1919fea8292381c85f11a9decff1bb1
phy: rockchip: samsung-hdptx: Do no set rk_hdptx_phy->rate in case of errors

Ensure rk_hdptx_ropll_tmds_cmn_config() updates hdptx->rate only after
all the other operations have been successful.

Fixes: c4b09c562086 ("phy: phy-rockchip-samsung-hdptx: Add clock provider support")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20250318-phy-sam-hdptx-bpc-v6-4-8cb1678e7663@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c