From patchwork Fri Jun 9 09:23:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hoegeun Kwon X-Patchwork-Id: 9777693 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 93B3060393 for ; Fri, 9 Jun 2017 09:23:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85BDA262F2 for ; Fri, 9 Jun 2017 09:23:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 792802843C; Fri, 9 Jun 2017 09:23:15 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ED45D262F2 for ; Fri, 9 Jun 2017 09:23:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 145806E591; Fri, 9 Jun 2017 09:23:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by gabe.freedesktop.org (Postfix) with ESMTPS id 66AAD6E58A for ; Fri, 9 Jun 2017 09:23:11 +0000 (UTC) Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20170609092309epoutp049f103acacd996fd96530bbc5a76ea1d2~Gab2cfY0o3095930959epoutp04I; Fri, 9 Jun 2017 09:23:09 +0000 (GMT) Received: from epsmges5p1.samsung.com (unknown [182.195.40.66]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20170609092308epcas1p1a723524b9b1649e184c1fb2cf51d36bf~Gab186e9H1969219692epcas1p1_; Fri, 9 Jun 2017 09:23:08 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id D9.17.20983.CF86A395; Fri, 9 Jun 2017 18:23:08 +0900 (KST) Received: from epsmgms2p2.samsung.com (unknown [182.195.42.80]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20170609092307epcas5p3a7851f80bd799626782941a640824521~Gab1KK25d0148801488epcas5p3f; Fri, 9 Jun 2017 09:23:07 +0000 (GMT) X-AuditID: b6c32a2c-f79be6d0000051f7-60-593a68fc0e97 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2.samsung.com (Symantec Messaging Gateway) with SMTP id ED.8D.02294.BF86A395; Fri, 9 Jun 2017 18:23:07 +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 <0OR900EGSWQHKQB0@mmp1.samsung.com>; Fri, 09 Jun 2017 18:23:07 +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] drm/exynos/dsi: Remove error handling for bridge_node DT parsing Date: Fri, 09 Jun 2017 18:23:00 +0900 Message-id: <1497000180-30669-1-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNKsWRmVeSWpSXmKPExsWy7bCmlu6fDKtIg9UfNSxurTvHatF77iST xZWv79ks3i/vYrOYdH8Ci8Wbt2uYLF7c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H8Ci8Wbt2uYLF7cu8hi0f/4NbPF+fMb2C02Pb7GanF51xw2ixnn9zFZ zJj8ks2B12PTqk42j+3fHrB63O8+zuSxeUm9x5b+u+wefVtWMXp83iQXwB7lZpORmpiSWqSQ mpecn5KZl26rFBripmuhpJCXmJtqqxSh6xsSpKRQlphTCuQZGaABB+cA92AlfbsEt4zdD+ax FTSxVZzauZGtgbGTtYuRk0NCwETi9cvZ7BC2mMSFe+vZuhi5OIQEtjFKtHzvYIJwvjNKTF+5 ihmkik1AV+Jrz3WwhIhAA6PE5SV/WEEcZoFnjBLbNh1hA6kSFgiWOLDhBdgOFgFViQN3doLt 4BXwkPg86SUbxD45iZPHJrNOYORewMiwipErtaA4Nz232KjAaBMjMLS3HdYK2MHYdC76EKMA B6MSD++EJstIIdbEsuLK3EOMEhzMSiK8FVFWkUK8KYmVValF+fFFpTmpxYcYTYFWTmSWEk3O B8ZdXkm8oYmlkYmBmZmhkYGxmZI474TALxFCAumJJanZqakFqUUwfUwcnFINjJMmdv0R330x aLd+2fdmZaePtm6tWueMpvgyRalOzrubLBc5/a2O/fqnh92UF4be3PCg7XyMx+pV54VmdJ95 WHgne++Nr0GHD0mHZq9hf/dJoMg5/phhPI9F7FaPucLCYeaX16guWV+staarXSadVWv+E0Zp oW0ySjICnj3bXki9E3b6WHB+phJLcUaioRZzUXEiAKjl9p6DAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170609092307epcas5p3a7851f80bd799626782941a640824521 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: 20170609092307epcas5p3a7851f80bd799626782941a640824521 X-RootMTR: 20170609092307epcas5p3a7851f80bd799626782941a640824521 References: Cc: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, javier@osg.samsung.com, Hoegeun Kwon , linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The bridge_node is unnecessary between FIMD and DSIM. If don't remove error handling, it will not work between FIMD and DSIM. So remove error handling. Signed-off-by: Hoegeun Kwon --- 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; }