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: 9749537 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 3BDCF6032C for ; Fri, 26 May 2017 01:02:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D15628381 for ; Fri, 26 May 2017 01:02:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F169283F9; Fri, 26 May 2017 01:02:50 +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 9F1D528381 for ; Fri, 26 May 2017 01:02:49 +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=/uW5j6epCN5/tQ7Z34o3+5LB/wvtP9qTFks8jw0vx28=; b=NT AuusVVclk4zw3+Sd/TxQ58WrwnzNid18f7ZNtNzeEF0wEg47ATU6kokTIJwrjbUbWtSxfrUMb/LvD 4V4dHEv9A7jStnPjezHN+8+w8Wi9RQf8B5U4yodaJR+ZoquT0BQNYVTuSQoSfu42DhVSarffruENF P/0J8fRScVQwfGabkQRt8OpBLztUpUkEL0fJN5+xdIRN5xeX3s50tG+aYwA80X5q40YEUg+lEMsGJ k6uO+MtuPW4zvKzslnbm3UNNsG4467HbI4zRsOqjlCGUc1VVya9u2tT7cLoV3GsgwPlT6xhmN2z0L hVC2XnBwxXDauC/76S07LK/xnWwaZzQw==; 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 1dE3eR-0003Ns-DA; Fri, 26 May 2017 01:02:47 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dE3eO-0003MU-Dg for linux-arm-kernel@lists.infradead.org; Fri, 26 May 2017 01:02:46 +0000 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 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+791509u5EX5mWlxjWuffc5ZvJj2XtNbW1+Rkjr+51Rfdj 916ITYUsibu6SWTI8utEOcVpNEsk0WXHCZMf/VOSZi2ZTfN27/nv83mez/M8n+fZQ+KqP/JI Msts521mLpsmJsjuPp63MPbswblpmuZSEr2/1SFHJzraMDR4pQSgCy0ifT08SKDBq8UEKvvk lKHvAzUY6u1+JUOOnn4c+Xx1CuTpCciRv/EcgSp8TRi6/PYVhgoftihQhauPQH0/n8lWqNia 8zWA9biPEey9X5/l7KfjrRh7pzqPrXd8VLAn692AHfJEpZKb+aWZPGfgbdG8OcNiyDIbE+g1 a9MT0/VxGiaWiUeL6WgzZ+IT6FXJqbFJWdniLnT0Hi47RwylcoJAL1y21GbJsfPRmRbBnkBv YRitmtEsVmu1WrVu0dYlWr0o2c5n3v78WGYdUOyre3gVywd+ohiMJyGlg0Ndt3EJT4Wd3bVi fAKporwAPrlySS6RIQCdviOK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BNbNK+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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170525_180244_596796_B8917CF9 X-CRM114-Status: GOOD ( 10.74 ) 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: devicetree@vger.kernel.org, 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 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);