From: Hoegeun Kwon Date: Wed, 21 Jun 2017 10:51:43 +0000 (+0900) Subject: drm/exynos/dsi: Remove error handling for bridge_node DT parsing X-Git-Tag: v4.13-rc3~18^2^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0d51a0a534534c8b5d843620243e2370a3e87217;hp=c9948920cfc63c5ed4eb37f461a1b2752d2e1d3b;p=karo-tx-linux.git drm/exynos/dsi: Remove error handling for bridge_node DT parsing Remove the error handling of bridge_node because the bridge_node is optional. For example, In case of Exynos SoC, a bridge device such as mDNIe and MIC could be placed between Display Controller and MIPI DSI device but the bridge device is optional. Signed-off-by: Hoegeun Kwon Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index 189685365450..b6a46d9a016e 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1651,8 +1651,6 @@ static int exynos_dsi_parse_dt(struct exynos_dsi *dsi) return ret; dsi->bridge_node = of_graph_get_remote_node(node, DSI_PORT_IN, 0); - if (!dsi->bridge_node) - return -EINVAL; return 0; }