From patchwork Wed Jun 21 10:51:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hoegeun Kwon X-Patchwork-Id: 9801555 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 8A1E66038C for ; Wed, 21 Jun 2017 10:51:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B4D62853C for ; Wed, 21 Jun 2017 10:51:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FD2828548; Wed, 21 Jun 2017 10:51:50 +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 6383D28548 for ; Wed, 21 Jun 2017 10:51:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752014AbdFUKvs (ORCPT ); Wed, 21 Jun 2017 06:51:48 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:26910 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750823AbdFUKvr (ORCPT ); Wed, 21 Jun 2017 06:51:47 -0400 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20170621105144epoutp0303b0d80d7cdffd800b7db57ec7df3091~KHYoG0nte2473624736epoutp03f; Wed, 21 Jun 2017 10:51:44 +0000 (GMT) Received: from epsmges5p2.samsung.com (unknown [182.195.40.68]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170621105144epcas1p34d33dd00a7f8cfa087c03091fdbcd213~KHYnvyje73181231812epcas1p3X; Wed, 21 Jun 2017 10:51:44 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p2.samsung.com (EPCPMTA) with SMTP id 50.5F.04821.0CF4A495; Wed, 21 Jun 2017 19:51:44 +0900 (KST) Received: from epsmgms2p2.samsung.com (unknown [182.195.42.80]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20170621105143epcas5p4b5c7fbbc0263c6190e69df6822e63699~KHYmjFfFH0843708437epcas5p4J; Wed, 21 Jun 2017 10:51:43 +0000 (GMT) X-AuditID: b6c32a2d-f79866d0000012d5-fc-594a4fc09333 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2.samsung.com (Symantec Messaging Gateway) with SMTP id C1.AC.05071.EBF4A495; Wed, 21 Jun 2017 19:51:42 +0900 (KST) Received: from localhost.localdomain ([10.113.63.38]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ORW00DEC8U5E090@mmp1.samsung.com>; Wed, 21 Jun 2017 19:51:42 +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 v4] drm/exynos/dsi: Remove error handling for bridge_node DT parsing Date: Wed, 21 Jun 2017 19:51:43 +0900 Message-id: <1498042303-5673-1-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMKsWRmVeSWpSXmKPExsWy7bCmuu4Bf69Ig9ntgha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vrBLMWRmVeSWpSXmKPExsVy+t9jAd19/l6RBtt+2VjcWneO1aL33Ekm iytf37NZvF/exWYx6f4EFos3b9cwWby4d5HFov/xa2aL8+c3sFtsenyN1eLyrjlsFjPO72Oy mDH5JZtF2+oPrA58HptWdbJ5bP/2gNXjfvdxJo/NS+o9/h1j99jSf5fdo2/LKkaPz5vkAjii 3GwyUhNTUosUUvOS81My89JtlUJD3HQtlBTyEnNTbZUidH1DgpQUyhJzSoE8IwM04OAc4B6s pG+X4JZxZsol5oJezopF06awNDDuZe9i5OSQEDCRWDnnFhOELSZx4d56ti5GLg4hgW2MEp37 77GBJIQEvjNKnPsoCmKzCehKfO25zgRSJCLQwChxeckfVhCHWaCVSWL/h4PMIFXCAmESd2av BxvLIqAq0fntF9gkXgF3iYO9bWwQ6+QkTh6bzDqBkXsBI8MqRq7UguLc9NxiowKjTYzAUN92 WCtgB2PTuehDjAIcjEo8vAyKnpFCrIllxZW5hxglOJiVRHhPO3tFCvGmJFZWpRblxxeV5qQW H2I0BVo5kVlKNDkfGId5JfGGJpZGJgZmZoZGBsZmSuK8EwK/RAgJpCeWpGanphakFsH0MXFw SjUwypSLWzXInKpcsG/CxvANq/MypJeXnnTnv6FsuUpFq2LP6TtrFQqO+88t+fCzb43+4sh1 uo8Tv8kkHPju5DRlk8qpS2Gq7O+nGvGJNvc26LAm+xUu93r08JdEmd5eiQ3ndu9fYpLqdDcx z13e9d2D1OOaKZN8vq3rOyxd67hPSOam2u3EPN6PSizFGYmGWsxFxYkA2g+yaYsCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170621105143epcas5p4b5c7fbbc0263c6190e69df6822e63699 X-Msg-Generator: CA X-Sender-IP: 182.195.42.80 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: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170621105143epcas5p4b5c7fbbc0263c6190e69df6822e63699 X-RootMTR: 20170621105143epcas5p4b5c7fbbc0263c6190e69df6822e63699 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 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 --- Hi all, Thanks for Krzysztof's advice. Changes for V4: - Fixed the word('optional') from commit message. 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; }