projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3cc51e
)
drm/exynos: dsi: do not try to find bridge
author
Inki Dae
<
[email protected]
>
Wed, 14 Jun 2017 08:09:00 +0000
(17:09 +0900)
committer
Inki Dae
<
[email protected]
>
Thu, 27 Jul 2017 00:24:01 +0000
(09:24 +0900)
It doesn't need to try to find a bridge if bridge node doesn't exist.
Reviewed-by: Shuah Khan <
[email protected]
>
Tested-by: Shuah Khan <
[email protected]
>
Signed-off-by: Inki Dae <
[email protected]
>
drivers/gpu/drm/exynos/exynos_drm_dsi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_dsi.c
b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
index a11b79596e2f8d483c113b78d1df7568d59a48d4..18968536545086d3f2c43f04b494d0638d4fab64 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_dsi.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_dsi.c
@@
-1687,9
+1687,11
@@
static int exynos_dsi_bind(struct device *dev, struct device *master,
return ret;
}
- bridge = of_drm_find_bridge(dsi->bridge_node);
- if (bridge)
- drm_bridge_attach(encoder, bridge, NULL);
+ if (dsi->bridge_node) {
+ bridge = of_drm_find_bridge(dsi->bridge_node);
+ if (bridge)
+ drm_bridge_attach(encoder, bridge, NULL);
+ }
return mipi_dsi_host_register(&dsi->dsi_host);
}