Skip to content

Commit

Permalink
DRM: i.MX: parallel display: Support probe deferral for finding DRM p…
Browse files Browse the repository at this point in the history
…anel

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  • Loading branch information
Liu Ying authored and pH5 committed Feb 23, 2015
1 parent 51dac94 commit d70e96a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/gpu/drm/imx/parallel-display.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,11 @@ static int imx_pd_bind(struct device *dev, struct device *master, void *data)
}

panel_node = of_parse_phandle(np, "fsl,panel", 0);
if (panel_node)
if (panel_node) {
imxpd->panel = of_drm_find_panel(panel_node);
if (!imxpd->panel)
return -EPROBE_DEFER;
}

imxpd->dev = dev;

Expand Down

0 comments on commit d70e96a

Please sign in to comment.