phy: rockchip-samsung-hdptx-hdmi: Fix missing error code 'ret'

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Iabaaf76b47f767d8234633ace4215c715d0f51c2
This commit is contained in:
Algea Cao
2022-06-06 14:11:39 +08:00
committed by Tao Huang
parent 2b306539cc
commit 60fcb4a299

View File

@@ -2293,6 +2293,7 @@ static int rockchip_hdptx_phy_probe(struct platform_device *pdev)
hdptx->grf = syscon_regmap_lookup_by_phandle(np, "rockchip,grf");
if (IS_ERR(hdptx->grf)) {
ret = PTR_ERR(hdptx->grf);
dev_err(hdptx->dev, "Unable to get rockchip,grf\n");
goto err_regsmap;
}