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: 9777699 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 EEF1B60393 for ; Fri, 9 Jun 2017 09:23:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E19D228429 for ; Fri, 9 Jun 2017 09:23:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D63DE285A0; Fri, 9 Jun 2017 09:23:37 +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 6410228429 for ; Fri, 9 Jun 2017 09:23:37 +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=9vCqsWXa0ykhFCBr3ebPLluY2lW5YOBEE9/vBURFiqg=; b=CL 8HfbPI/z8lks38JYSa+/zU2RLDpzEjoNKTd9TTJjLNw2ceDOy3IFehBKVS4U8XGe7Q7HG9/d76H3H HAXP0F9USzwR8POGIjDHgGQD+CeqtPECPKJ2MpC2Ah4EtYWDcXyt7feY8IpyIFmGRadWGyg5/ll3r xL8J7R4DllVW/iXFWRhfTtFhe6eEXn40aNAVqGqAtCqoRdzu9HJ9Ie1Y76Zpf7mvtty2TJGR7zNoh JacGxwlUABIaqNyFNaAi8JBqBRpMfjhRjoHQK7w47KP34619KzsqGf+7cTZYggsxdQgdK3cj/QbrD rNDDven+dcON3nksKPa/CAxhs9stTqVg==; 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 1dJG8m-0006J1-Dr; Fri, 09 Jun 2017 09:23:36 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dJG8i-000619-OQ for linux-arm-kernel@lists.infradead.org; Fri, 09 Jun 2017 09:23:35 +0000 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/vYrOYdH8Ci8Wbt2uYLF7cu8hi0f/4NbPF+fMb2C02Pb7GanF51xw2ixnn9zFZ zJj8ks2B12PTqk42j+3fHrB63O8+zuSxeUm9x5b+u+wefVtWMXp83iQXwB6VapORmpiSWqSQ mpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtqq+TiE6DrlpkDdK2SQlliTilQKCCxuFhJ 386mKL+0JFUhI7+4xFYp2tDQSM/QwFzPyMhIz8Q41srIFKgkITVj94N5bAVNbBWndm5ka2Ds ZO1i5OSQEDCRODNpHROELSZx4d56NhBbSGApo0R3S34XIxeQ/ZlRYt/H8+wwDa9fzmaHSOxg lJg79SUbhPOdUWL1zWlg7WwCuhJfe64zgSREBBoYJZ4cvcIM4jALPGOU2PLwDSNIlbBAsMSB DS/ADmERUJU4cGcn2A5eAQ+Jz5NeskHsk5M4eWwyK0izhEAz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FVFWkUK8KYmVValF+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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170609_022333_004373_57F8E559 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. 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, a.hajda@samsung.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, 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 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; }