Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1671399 > unrolled thread

[PATCH v3] drm/exynos/dsi: Remove error handling for bridge_node DT parsing

Started byHoegeun Kwon <hoegeun.kwon@samsung.com>
First post2017-06-21 08:40 +0200
Last post2017-06-21 08:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3] drm/exynos/dsi: Remove error handling for bridge_node DT  parsing Hoegeun Kwon <hoegeun.kwon@samsung.com> - 2017-06-21 08:40 +0200

#1671399 — [PATCH v3] drm/exynos/dsi: Remove error handling for bridge_node DT parsing

FromHoegeun Kwon <hoegeun.kwon@samsung.com>
Date2017-06-21 08:40 +0200
Subject[PATCH v3] drm/exynos/dsi: Remove error handling for bridge_node DT parsing
Message-ID<tUHt0-2vO-31@gated-at.bofh.it>
Remove the error handling of bridge_node because the bridge_node is
optionally.

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 optionally.

Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
---

Hi all,

Changes for V3:
- Removed the word('required') from commit message.

Changes for V2:
- Modified the commit message in more detail than before.

Best regards,
Hoegeun

 drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
index a11b795..6ee0dac 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;
 }
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web