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: 9801561 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 BB2C76038C for ; Wed, 21 Jun 2017 10:52:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA42328548 for ; Wed, 21 Jun 2017 10:52:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D2532855A; Wed, 21 Jun 2017 10:52:14 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F0EBC28548 for ; Wed, 21 Jun 2017 10:52:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: Message-id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:List-Owner; bh=rQLH1HXjU4Zyx/cqL2fXUFQSwrwHA7p3oKZQRexV5Y8=; b=cH 2zr+YF4E+kLapif1Z1pwt0jrL3AaGSSAt581edqy4FnSgm/P2Ukfgkc8RxRB92wWFTx5h+Fp42da7 VDRprDPQ6NHRJqE+B/0Si1Yne71sNULG7Ybtht/6lb/LNRUttqC7/bBFw9InBFx419jsbFEsm49Zn j+oRMuWoqi9PK8hrovrXNIlWIwDA7YgeWu3wai9pxL6/ZNhKrQT7kRwFsF3Jvfklp+UjO/ADWjXxw jMk+NlU4x6vEq2Y2cu2C8qzKR+ByaawjS3/6ugNUUmDAK6j1MeqPZCy/uVhrqrhGWnHLmhJR9nT4t rtTgvO+f/phWxgmnbiQ3kvkaGQ33QpLg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dNdF6-0002XY-G7; Wed, 21 Jun 2017 10:52:12 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dNdF2-0002WL-3W for linux-arm-kernel@lists.infradead.org; Wed, 21 Jun 2017 10:52:10 +0000 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 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+NgFnrMKsWRmVeSWpSXmKPExsWy7bCmuu4Bf69Ig9ntgha31p1jteg9d5LJ 4srX92wW75d3sVlMuj+BxeLN2zVMFi/uXWSx6H/8mtni/PkN7BabHl9jtbi8aw6bxYzz+5gs Zkx+yWbRtvoDqwOfx6ZVnWwe2789YPW4332cyWPzknqPf8fYPbb032X36NuyitHj8ya5AI6o VJuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wcoLOVFMoS c0qBQgGJxcVK+nY2RfmlJakKGfnFJbZK0YaGRnqGBuZ6RkZGeibGsVZGpkAlCakZZ6ZcYi7o 5axYNG0KSwPjXvYuRk4OCQETiT9dTxkhbDGJC/fWs4HYQgJLGSV+bvSCsD8zSizt5IGpXznn FlMXIxdQfAejxKT191kgnO+MEk/f3GMFqWIT0JX42nMdrEpEoIFR4snRK8wgDrNAK5PE6iV/ mUCqhAXCJO7MXg9mswioSn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YzAUN92 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170621_035208_296535_9712A9DD X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, tjakobi@math.uni-bielefeld.de, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, a.hajda@samsung.com, javier@osg.samsung.com, Hoegeun Kwon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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; }