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: 9785521 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 E4A5A602C9 for ; Wed, 14 Jun 2017 06:34:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2CCF28517 for ; Wed, 14 Jun 2017 06:34:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B657A28575; Wed, 14 Jun 2017 06:34:33 +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 48E0928517 for ; Wed, 14 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=9YMFXxVR9oei7JTHmotOKE0ZOa9KNsy4cVM+3WT6Cr0=; b=fo k4OnPBz5E9BKCyAPCwPQr+rii7aSMnX2VSChSqvZBgb8c4c47dxsurbOXgxcg8T8to4mD4O7Orjxf qSbdIBjO2irek/iVx7xosAxsJqISfAYB865nffMPjj+fn7a5Zs8U5bOH5c751OX2xN4A/mKVOPjVK CZ/hC/E6tKXq/yAPLUEQDaaypDPwHfrcP03jZLKt++GMjy5j+xPJgpmdqTS1ukFEXUztVTq7oVW+R Zt4XUwLu7gE4yyLiydoaQ0t+XSwZT0Ol5i8Rhv4UIUkaRfNr9/mZHX8k+2/paNRRP+83FxhIMw33H OWLnGgYlejKAaDLukYjxnd9gNElj3fGw==; 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 1dL1su-0005EA-E1; Wed, 14 Jun 2017 06:34:32 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dL1sq-0005Cu-Jr for linux-arm-kernel@lists.infradead.org; Wed, 14 Jun 2017 06:34:30 +0000 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/exWYx6f4EFos3b9cwWby4d5HFov/xa2aL8+c3sFtsenyN1eLyrjlsFjPO72Oy mDH5JZtF2+oPrA58HptWdbJ5bP/2gNXjfvdxJo/NS+o9/h1j99jSf5fdo2/LKkaPz5vkAjii Um0yUhNTUosUUvOS81My89JtlbyD453jTc0MDHUNLS3MlRTyEnNTbZVcfAJ03TJzgM5WUihL zCkFCgUkFhcr6dvZFOWXlqQqZOQXl9gqRRsaGukZGpjrGRkZ6ZkYx1oZmQKVJKRmXNq4iK1g FkfF64/3mBsYH7F1MXJySAiYSHQt/s8KYYtJXLi3HijOxSEksJRRYuGbDkYI5zOjxLoVX1hg On7+mgOV2MEo8ebcTiYI5zujxMEfV5lBqtgEdCW+9lwHS4gINDBKPDl6hRnEYRZoZZJYveQv E0iVsECYxO1169lBbBYBVYnJfS1gV/EKuEvs7F4B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c9CFGAQ5GJR7eHWsdIoVYE8uKK3MPMUpwMCuJ8EqcBwrxpiRWVqUW5ccXleakFh9iNAVa 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170613_233428_847525_1CC2DAF3 X-CRM114-Status: GOOD ( 10.64 ) 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 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; }