From patchwork Wed Jun 14 06:33:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hoegeun Kwon X-Patchwork-Id: 9785517 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 D58B4602C9 for ; Wed, 14 Jun 2017 06:34:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B51E628517 for ; Wed, 14 Jun 2017 06:34:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9A4228575; Wed, 14 Jun 2017 06:34:08 +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 4995828517 for ; Wed, 14 Jun 2017 06:34:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 490D46E41B; Wed, 14 Jun 2017 06:34:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 307AE6E41B for ; Wed, 14 Jun 2017 06:34:02 +0000 (UTC) Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20170614063400epoutp01852612fae9f0fdea84d28d1dfd8e25db~H6WmNXR4G3042530425epoutp01g; Wed, 14 Jun 2017 06:34:00 +0000 (GMT) Received: from epsmges5p1.samsung.com (unknown [182.195.40.70]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20170614063400epcas1p48e735e6d109954852f2c051b5298a67f~H6Wl7yGY11260612606epcas1p4C; Wed, 14 Jun 2017 06:34:00 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id AD.90.20983.8D8D0495; Wed, 14 Jun 2017 15:34:00 +0900 (KST) Received: from epsmgms2p2.samsung.com (unknown [182.195.42.80]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20170614063359epcas5p46658bba447468cd367d0684bd9485bf8~H6WlWu2281889618896epcas5p4S; Wed, 14 Jun 2017 06:33:59 +0000 (GMT) X-AuditID: b6c32a2c-f79be6d0000051f7-5d-5940d8d820c4 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 81.4D.02294.7D8D0495; Wed, 14 Jun 2017 15:33:59 +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 <0ORI00BZ5Y8LGK20@mmp1.samsung.com>; Wed, 14 Jun 2017 15:33:59 +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 v2] drm/exynos/dsi: Remove error handling for bridge_node DT parsing Date: Wed, 14 Jun 2017 15:33:40 +0900 Message-id: <1497422020-8810-1-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKKsWRmVeSWpSXmKPExsWy7bCmhu6NGw6RBpefCVvcWneO1aL33Ekm iytf37NZvF/exWYx6f4EFos3b9cwW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iDb7M0rG4te4cq0XvuZNM Fle+vmezeL+8i81i0v0JLBZv3q5hsnhx7yKLRf/j18wW589vYLfY9Pgaq8XlXXPYLGac38dk MWPySzaLttUfWB34PDat6mTz2P7tAavH/e7jTB6bl9R7/DvG7rGl/y67R9+WVYwenzfJBXBE udlkpCampBYppOYl56dk5qXbKoWGuOlaKCnkJeam2ipF6PqGBCkplCXmlAJ5RgZowME5wD1Y Sd8uwS3j0sZFbAWzOCpef7zH3MD4iK2LkZNDQsBE4uevOYwQtpjEhXvrgeJcHEIC2xglOq8/ ZoJwvjNKLDv8AayKTUBX4mvPdbCEiEADo8TlJX9YQRxmgVYmif0fDjKDVAkLhEncXreeHcRm EVCVmNzXAraPV8BdYmf3CqjdchInj01mncDIvYCRYRUjV2pBcW56brFRgdEmRmCwbzusFbCD selc9CFGAQ5GJR7eHWsdIoVYE8uKK3MPMUpwMCuJ8EqcBwrxpiRWVqUW5ccXleakFh9iNAVa OZFZSjQ5HxiJeSXxhiaWRiYGZmaGRgbGZkrivBMCv0QICaQnlqRmp6YWpBbB9DFxcEo1MC44 +OjXg6S8Aldb9e3PnKbHnN7372+gxdN/Nct+CCjkd944fk7EVsbRa1fwdmHT2h3fZ68IN3y9 zLHCdTODUJyzQlvSb+VVtySn+AiFtL2xUYuN73J3S/LTdZr7bFW/5NmEae5CBQF+MX/+n9tk ajCP5+Pt790my6NTrXIsVA89snDcZRT9VomlOCPRUIu5qDgRABfuap+MAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170614063359epcas5p46658bba447468cd367d0684bd9485bf8 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: 20170614063359epcas5p46658bba447468cd367d0684bd9485bf8 X-RootMTR: 20170614063359epcas5p46658bba447468cd367d0684bd9485bf8 References: Cc: linux-samsung-soc@vger.kernel.org, tjakobi@math.uni-bielefeld.de, 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 Remove the error handling of bridge_node because the bridge_node is required 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 required optionally. Signed-off-by: Hoegeun Kwon --- Hi Inki and Tobias, Thanks for your review. 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; }