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: 9800867 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 8D448601C0 for ; Wed, 21 Jun 2017 06:34:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79FC928533 for ; Wed, 21 Jun 2017 06:34:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6CD5C28539; Wed, 21 Jun 2017 06:34:34 +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 EDF9228533 for ; Wed, 21 Jun 2017 06:34:33 +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=ZH2PHaLNaM8MGZahAAtIUGX2EtmFUYZhv0JoXPMVPik=; b=pt 4+vfPWhaWgdLv/YQXSByFbgLBbdci+67csTEyAX+D1p6Iokap0uAaL2ZdEQJeo8SONhSZz3Ls6O5K uOvkJWVBCnlC9Ntnb0KFfHdicG/CXTotwUj1GNUftcSLQ5VP722YbjZxexRiLT5pCj1WGXGjV4+J8 n+uhZqLcciPXDfJ71WduwvgKCBMA5m9wqWm2sjBBvCxYlti/g7FFrhTPRzbuWljSFsZGFF4PteSUz dGUdSfsEOovFmHA4DZXKokAJpFjG9aLmTOFtIeVkThX4LQTpRunUY2mO6CbzdjpSZFSowpavnjYNk p9jpq7Spu7TBIn0zVI94pmU/7Tg9wqgA==; 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 1dNZDk-0008Cv-U9; Wed, 21 Jun 2017 06:34:32 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dNZDR-0007WZ-8Q for linux-arm-kernel@lists.infradead.org; Wed, 21 Jun 2017 06:34:27 +0000 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 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/2htNvOuuooGmklU5lJQWhlNunNldxd 2VmlgtKIpNRSi0hKIVQUH2msplb0sszs4ZaKkpVZRmSW9toeUNGsY/9995zfOefj8lG4epTw p9ItdmSzCBkM6alovR2wXLved12ivvqRkRtq7CG44z3dGNfvmiS5yZp8kjv5sljBffjYgHHv hp8ouKLRcZxzOi8qOcfoAMH1XSkjuVLndYwrPTVGcnn1n4iV3ryj7hjJt30fIfiXBV0Y31yV w/+9q+Rbil4o+RMtdYD/6lgYT21FESYkpCKbBllSrKnplrRIZv3m5FXJwSF6VsuGcaGMxiKY USSzOjZeG5OeIdlmNNlCRpZUihdEkVm+IsJmzbIjjckq2iOZbSxr0LH6UJ3BYNAZg5LCDcES shOZmipgZi21t7X0G8gFE2Q+oChIG2HjyYP5wEOSc+Dj4Sap7Emp6XYAW8c/4PLjK4ANJWWk TBlh5dXhaeoCgNVXSqepHwDeO91CuCmS1kJ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3 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170620_233413_963362_62C8BC78 X-CRM114-Status: GOOD ( 11.57 ) 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 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; }