drm/exynos/dsi: Remove error handling for bridge_node DT parsing
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 21 Jun 2017 10:51:43 +0000 (19:51 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 27 Jul 2017 00:24:02 +0000 (09:24 +0900)
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 <hoegeun.kwon@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c

index 18968536545086d3f2c43f04b494d0638d4fab64..b6a46d9a016e57982f69a6e6a02444996cb19cb5 100644 (file)
@@ -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;
 }