From patchwork Wed Jun 21 06:33:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hoegeun Kwon X-Patchwork-Id: 9800861 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C4F6C601C0 for ; Wed, 21 Jun 2017 06:34:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2E1F28533 for ; Wed, 21 Jun 2017 06:34:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A709828539; Wed, 21 Jun 2017 06:34:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DB9928534 for ; Wed, 21 Jun 2017 06:34:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752136AbdFUGdw (ORCPT ); Wed, 21 Jun 2017 02:33:52 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:38518 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752116AbdFUGdu (ORCPT ); Wed, 21 Jun 2017 02:33:50 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20170621063348epoutp040d2a2829ecf6688bf8ad2c0bd23c8464~KD3akU7MU0798907989epoutp04o; Wed, 21 Jun 2017 06:33:48 +0000 (GMT) Received: from epsmges1p2.samsung.com (unknown [182.195.40.70]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170621063347epcas1p3c3c6b240b843ba08bb00853eafb93e22~KD3aOEqPX2154621546epcas1p33; Wed, 21 Jun 2017 06:33:47 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 99.52.06750.B431A495; Wed, 21 Jun 2017 15:33:47 +0900 (KST) Received: from epsmgms2p1.samsung.com (unknown [182.195.42.79]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20170621063347epcas1p46d2ccf5edbedc5386222c0fce3b2523a~KD3Z9AkF-2251422514epcas1p4_; Wed, 21 Jun 2017 06:33:47 +0000 (GMT) X-AuditID: b6c32a36-f79db6d000001a5e-d3-594a134bee99 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1.samsung.com (Symantec Messaging Gateway) with SMTP id A5.6C.05076.B431A495; Wed, 21 Jun 2017 15:33:47 +0900 (KST) Received: from localhost.localdomain ([10.113.63.38]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ORV0093QWW9Y250@mmp2.samsung.com>; Wed, 21 Jun 2017 15:33:47 +0900 (KST) From: Hoegeun Kwon To: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, airlied@linux.ie, kgene@kernel.org, krzk@kernel.org Cc: javier@osg.samsung.com, a.hajda@samsung.com, tjakobi@math.uni-bielefeld.de, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Hoegeun Kwon Subject: [PATCH v3] drm/exynos/dsi: Remove error handling for bridge_node DT parsing Date: Wed, 21 Jun 2017 15:33:32 +0900 Message-id: <1498026812-18539-1-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAAzWSe0gUURTGuzM7s6O5Nq5ZF3ttE/2htNvOuuooGmklU5lJQ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SWpSXmKPExsVy+t9jQV1vYa9Ig1edKha31p1jteg9d5LJ 4srX92wW75d3sVlMuj+BxeLN2zVMFi/uXWSx6H/8mtni/PkN7BabHl9jtbi8aw6bxYzz+5gs Zkx+yWbRtvoDqwOfx6ZVnWwe2789YPW4332cyWPzknqPf8fYPbb032X36NuyitHj8ya5AI4o N5uM1MSU1CKF1Lzk/JTMvHRbpdAQN10LJYW8xNxUW6UIXd+QICWFssScUiDPyAANODgHuAcr 6dsluGWsXyRRsJKjYtuML4wNjO/Yuhg5OSQETCQW774HZYtJXLi3Hsjm4hASWM0ocbyliRXC +c4osXXjQkaQKjYBXYmvPdeZQBIiAg2MEpeX/AGrYhZoZZLY/+EgM0iVsECYxN53R1lAbBYB VYkzR18DdXNw8Ap4SJxZ7AexTk7i5LHJrBMYuRcwMqxi5EotKM5Nzy02KjDcxAgM9G2Htfx3 MP44G32IUYCDUYmHl0HRM1KINbGsuDL3EKMEB7OSCK8/r1ekEG9KYmVValF+fFFpTmrxIUZT oI0TmaVEk/OBUZhXEm9oYmlkYmBmZmhkYGymJM47IfBLhJBAemJJanZqakFqEUwfEwenVAPj QtsvF/t1Sl759K9kNzx9Y0U908dZ7vN8TvtZhVpsdJ5lMiv+3f87Z3jf3miuffjxsdHnXm+D 3jn9eXl6762eCUmuX8thl3At7vPDjkKBbTe4s05MDbnOcDA06WWk3iSLGs9FebeutOlarT2T t/zKrcmz7izwu1j0/j+DndLhPO292t7H6+LTlFiKMxINtZiLihMBcVs4l4oCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170621063347epcas1p46d2ccf5edbedc5386222c0fce3b2523a X-Msg-Generator: CA X-Sender-IP: 182.195.42.79 X-Local-Sender: =?UTF-8?B?6raM7ZqM6re8G1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?SG9lZ2V1biBLd29uG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170621063347epcas1p46d2ccf5edbedc5386222c0fce3b2523a X-RootMTR: 20170621063347epcas1p46d2ccf5edbedc5386222c0fce3b2523a References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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; }