From patchwork Fri May 26 01:02:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hoegeun Kwon X-Patchwork-Id: 9749535 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 0F9396032C for ; Fri, 26 May 2017 01:02:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00E2B28381 for ; Fri, 26 May 2017 01:02:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E78A828400; Fri, 26 May 2017 01:02:35 +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 7BBA928381 for ; Fri, 26 May 2017 01:02:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939429AbdEZBCY (ORCPT ); Thu, 25 May 2017 21:02:24 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:47004 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751890AbdEZBCU (ORCPT ); Thu, 25 May 2017 21:02:20 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20170526010218epoutp03a4b5574f5c9ab9f94f611bbc0f2b608f~CAkj12K-C0090200902epoutp03T; Fri, 26 May 2017 01:02:18 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.68]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170526010218epcas1p3191b740e403617e2a8754228ac715fde~CAkjbaPbM2021920219epcas1p3u; Fri, 26 May 2017 01:02:18 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 71.C5.12779.A9E77295; Fri, 26 May 2017 10:02:18 +0900 (KST) Received: from epsmgms2p1.samsung.com (unknown [182.195.42.79]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170526010217epcas1p3bfb8d9f733bcdafb4209d917fdf28dd8~CAkjHVYh12020320203epcas1p33; Fri, 26 May 2017 01:02:17 +0000 (GMT) X-AuditID: b6c32a38-f791a6d0000031eb-87-59277e9ace80 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1.samsung.com (Symantec Messaging Gateway) with SMTP id A3.DE.02179.99E77295; Fri, 26 May 2017 10:02:17 +0900 (KST) Received: from localhost.localdomain ([10.113.63.38]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OQJ00MXZC7RSC40@mmp2.samsung.com>; Fri, 26 May 2017 10:02:17 +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, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com Cc: javier@osg.samsung.com, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, a.hajda@samsung.com, Hoegeun Kwon Subject: [PATCH v2] drm/exynos: dsi: Remove bridge node reference in removal Date: Fri, 26 May 2017 10:02:01 +0900 Message-id: <1495760521-330-1-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAAzVSf0yMcRj3fd+791509u5EX5mWlxjWuffc5ZvJj2X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brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeLIzCtJLcpLzFFi42I5/e+xoO7MOvVIg5mfDSxurTvHatF77iST xftlPYwW848AuVe+vmezeL+8i81i0v0JLBZv3q5hsnhx7yKLRf/j18wW589vYLfY9Pgaq8Xl XXPYLGac38dksfT6RSaL1r1H2C1mTH7JZvHy4wkWByGPNfPWMHpsWtXJ5rH92wNWj/vdx5k8 Ni+p99jSf5fdo2/LKkaPz5vkAjii3GwyUhNTUosUUvOS81My89JtlUJD3HQtlBTyEnNTbZUi dH1DgpQUyhJzSoE8IwM04OAc4B6spG+X4Jax8cFhloK37BUb9i5namC8zNbFyMkhIWAi8XbV P2YIW0ziwr31QHEuDiGB1YwSKy98g3K+M0r0HD/EDlLFJqAr8bXnOhNIQkTgFqPEmelnwKqY BZqYJD7faGQBqRIW8JFY0nGFCcRmEVCVaO2dBNbNK+AmsWVJP9RuOYmTxyazTmDkXsDIsIqR K7WgODc9t9iowHATIzAuth3W8t/B+ONs9CFGAQ5GJR5eByH1SCHWxLLiytxDjBIczEoivFvT gUK8KYmVValF+fFFpTmpxYcYTYFWTmSWEk3OB8ZsXkm8oYmlkYmBmZmhkYGxmZI474TALxFC AumJJanZqakFqUUwfUwcnFINjOWMOicDLLb+uM7Tt3PRYf+Q8hdbFRj9Z9zKdH7xZdVzH/eQ qNfJj/wy92+7/69W4+D8XpnwqDhtIT9jdc1vbVZSfOvXL5umJfr+W8lxqaPzNm18oFc6NadU 7tcbsRlJalMfxVaxCtlentVedl/uoNEuI+drPqtLIpqrJ2kX7bRw3vV7hv+zfCWW4oxEQy3m ouJEACba2V2hAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170526010217epcas1p3bfb8d9f733bcdafb4209d917fdf28dd8 X-Msg-Generator: CA X-Sender-IP: 182.195.42.79 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: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170526010217epcas1p3bfb8d9f733bcdafb4209d917fdf28dd8 X-RootMTR: 20170526010217epcas1p3bfb8d9f733bcdafb4209d917fdf28dd8 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 Since bridge node is referenced during in the probe, it should be released on removal. Suggested-by: Andrzej Hajda Signed-off-by: Hoegeun Kwon --- Hi Inki, This patch seems to have been forgotten... :) Changes for V2: - Checked for rebase 4.12-rc2 Best regards, Hoegeun drivers/gpu/drm/exynos/exynos_drm_dsi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index 698a824..a11b795 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1805,6 +1805,10 @@ static int exynos_dsi_probe(struct platform_device *pdev) static int exynos_dsi_remove(struct platform_device *pdev) { + struct exynos_dsi *dsi = platform_get_drvdata(pdev); + + of_node_put(dsi->bridge_node); + pm_runtime_disable(&pdev->dev); component_del(&pdev->dev, &exynos_dsi_component_ops);