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:
Zheng Yang
2015-07-16 17:45:14 +08:00
parent 858c057af9
commit 6a9f5a9abe

View File

@@ -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);
}