projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51dac94
)
DRM: i.MX: parallel display: Support probe deferral for finding DRM panel
author
Liu Ying
<Ying.Liu@freescale.com>
Mon, 23 Feb 2015 03:09:51 +0000
(11:09 +0800)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Mon, 23 Feb 2015 16:19:25 +0000
(17:19 +0100)
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/parallel-display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/imx/parallel-display.c
b/drivers/gpu/drm/imx/parallel-display.c
index
5e83e00
..
900dda6
100644
(file)
--- a/
drivers/gpu/drm/imx/parallel-display.c
+++ b/
drivers/gpu/drm/imx/parallel-display.c
@@
-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;