mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
eDP:rk3288:ignore grf probe error when probe.
rockhip,grf node is not exist on rk3288, we need to ignore grf probe error. Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
@@ -1428,7 +1428,7 @@ static int rk32_edp_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
edp->grf = syscon_regmap_lookup_by_phandle(np, "rockchip,grf");
|
||||
if (IS_ERR(edp->grf)) {
|
||||
if (IS_ERR(edp->grf) && !cpu_is_rk3288()) {
|
||||
dev_err(&pdev->dev, "can't find rockchip,grf property\n");
|
||||
return PTR_ERR(edp->grf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user