mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user