From patchwork Wed Apr 12 07:22:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9676709 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 7C17A60381 for ; Wed, 12 Apr 2017 07:22:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DB982850F for ; Wed, 12 Apr 2017 07:22:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 622EE285C2; Wed, 12 Apr 2017 07:22:23 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B7EC285C1 for ; Wed, 12 Apr 2017 07:22:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751421AbdDLHWV (ORCPT ); Wed, 12 Apr 2017 03:22:21 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:43106 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042AbdDLHWV (ORCPT ); Wed, 12 Apr 2017 03:22:21 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OOA00FV4CH6GI40@mailout1.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 12 Apr 2017 08:22:18 +0100 (BST) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170412072217eucas1p2b2d24b5ef4acf83de52cd1536b00e3a1~0lXxT5lHQ1745817458eucas1p2K; Wed, 12 Apr 2017 07:22:17 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges5.samsung.com (EUCPMTA) with SMTP id B1.72.25577.9A5DDE85; Wed, 12 Apr 2017 08:22:17 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170412072216eucas1p136149c39438639424d3b8ab4f8d548e8~0lXwL4rcF0598505985eucas1p1N; Wed, 12 Apr 2017 07:22:16 +0000 (GMT) X-AuditID: cbfec7f5-f792f6d0000063e9-9f-58edd5a968a5 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 85.69.17452.426DDE85; Wed, 12 Apr 2017 08:24:20 +0100 (BST) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OOA00HXNCH3OR00@eusync4.samsung.com>; Wed, 12 Apr 2017 08:22:16 +0100 (BST) From: Andrzej Hajda To: inki.dae@samsung.com, dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski Subject: [PATCH] drm/exynos/dsi: fix bridge_node DT parsing Date: Wed, 12 Apr 2017 09:22:09 +0200 Message-id: <1491981729-6396-1-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLIsWRmVeSWpSXmKPExsWy7djP87orr76NMOh5pGBxa905VouNM9az Wlz5+p7NYtL9CSwWM87vY7JYe+QuuwObx/3u40wefVtWMXp83iQXwBzFZZOSmpNZllqkb5fA lXHv2T62ghdsFd0L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oiIbbJSdw818k8gZF7ASPDKkaR1NLi3PTcYkO94sTc4tK8dL3k/NxNjMDg23bs5+YdjJc2 Bh9iFOBgVOLhXXDuTYQQa2JZcWXuIUYJDmYlEd66DW8jhHhTEiurUovy44tKc1KLDzGaAu2e yCwlmpwPjIy8knhDE0NzS0MjYwsLcyMjJXHekg9XwoUE0hNLUrNTUwtSi2D6mDg4pRoYe2bI nFmrMTfXIGqT+HN+78+zT7tdCtq/8sheXtn3B3adfMfiWXb78twk7WNal98yPnVJeCDxNHK/ /ulH9w/8vZzbvKT/k4ehekn4rBkCSkJuN/a6NlntZxfKDzL8v+z3zfsra2/qHRKvXMm2bse6 Z9G27+NK03pMLR68MrD1yi+XOO4UUqMbrsRSnJFoqMVcVJwIAAGn8FZUAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170412072216eucas1p136149c39438639424d3b8ab4f8d548e8 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRvsgrw=?= =?UTF-8?B?7ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170412072216eucas1p136149c39438639424d3b8ab4f8d548e8 X-RootMTR: 20170412072216eucas1p136149c39438639424d3b8ab4f8d548e8 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP DSIM uses MIC bridge which is between DECON and DSIM, so the driver should expect bridge node on input side. Fixes: 86418f9 ("drm: convert drivers to use of_graph_get_remote_node") Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index dcb50d4d..3ae459f 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1659,7 +1659,7 @@ static int exynos_dsi_parse_dt(struct exynos_dsi *dsi) of_node_put(ep); - dsi->bridge_node = of_graph_get_remote_node(node, DSI_PORT_OUT, 0); + dsi->bridge_node = of_graph_get_remote_node(node, DSI_PORT_IN, 0); if (!dsi->bridge_node) return -EINVAL;