From patchwork Mon Jul 4 07:15:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9211785 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 F40AE60572 for ; Mon, 4 Jul 2016 07:25:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF88228498 for ; Mon, 4 Jul 2016 07:25:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D074D2860D; Mon, 4 Jul 2016 07:25: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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 601F828498 for ; Mon, 4 Jul 2016 07:25:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bJyE9-0004eW-Gh; Mon, 04 Jul 2016 07:23:33 +0000 Received: from mail-co1nam03on0077.outbound.protection.outlook.com ([104.47.40.77] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bJyE5-0004aJ-Nq for linux-arm-kernel@lists.infradead.org; Mon, 04 Jul 2016 07:23:30 +0000 Received: from BN3PR0301CA0039.namprd03.prod.outlook.com (10.160.180.177) by BLUPR03MB248.namprd03.prod.outlook.com (10.255.213.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Mon, 4 Jul 2016 07:23:06 +0000 Received: from BN1AFFO11FD022.protection.gbl (2a01:111:f400:7c10::161) by BN3PR0301CA0039.outlook.office365.com (2a01:111:e400:4000::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16 via Frontend Transport; Mon, 4 Jul 2016 07:23:07 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD022.mail.protection.outlook.com (10.58.52.82) with Microsoft SMTP Server (TLS) id 15.1.534.7 via Frontend Transport; Mon, 4 Jul 2016 07:23:06 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u647N19V003231; Mon, 4 Jul 2016 00:23:02 -0700 From: Peter Chen To: , , Subject: [PATCH 1/1] gpu: drm: exynos_hdmi: add missing of_node_put after calling of_parse_phandle Date: Mon, 4 Jul 2016 15:15:55 +0800 Message-ID: <1467616555-7916-1-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131120905871851703; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(189998001)(5001770100001)(19580395003)(50466002)(33646002)(50986999)(92566002)(81166006)(19580405001)(8676002)(97736004)(85426001)(86362001)(2201001)(356003)(69596002)(48376002)(87936001)(106466001)(81156014)(105606002)(8666005)(229853001)(4326007)(36756003)(68736007)(5003940100001)(7846002)(8936002)(50226002)(2906002)(77096005)(6806005)(104016004)(586003)(305945005)(47776003)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB248; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD022; 1:qkcUmD0xh2gyQSVeiYXl88NEmnhcIBnDWGexUeOb2LEg/pycar5B9I8w6J8IBzjDViAcehWPXJBG3APvA0yceW8xg7a09Als/d78jjupOq7Up7wS0iunEmVxzREeHvbD128o9fFIauxMATniYySoIFwZKDhsqVl+ux/7gRIe8G+/MS3ljC/YZJxE4ZeVcp9WViMaNLwxcy3YccQ/BkVl0fNiA6tB8qMsTaxViSAkkPDW1tuXMwXPCp/mxECJVGVWACCV+DzTyYwJNRaKMbt+TeOXQqGeMStCNyvcGOvEpJAsL458UYdIHrY72fxHY4WI/BoXaDq4s/7U63H4qqs+U2WhUkZZbmQOXwNH6QQQGw4fVWxpOduDhowpgoB2REfvLMFsNELuR3udowLs/le7TFXC2jP3R46yjh+OD0G2NPeXl9gnwXEnKWeDI3QHc9Zbx7RoHKavFbS6o6d+VJdYy/3b43oKrUld8DkEXkyJUE6/zq7XAh4lPbVv5ZT1LosydAdg0zxEII2Il6Gfk0BKsRDCa7b+RWWUt+9+9KYfMKG3/Dsl0iTXuT9gyfCtkIXGUxLmcwOal2quAKM6wqSHhuzuPTA16LSUBCiFGQ1Hbm3J/MVX8/aOqzQ9gLAqXLaInRo2zKguNGL9HmwqeZ6NBPJEsWwn08Tlf4Aa9pjIUglBE98PAIDBd0vdUeodR36WBMlqq0l4biN24efnWD5HziKqA/IpfeCfjD60iZ46aKk= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 022416b9-f237-42fa-1f56-08d3a3dc0b93 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB248; 2:RZ8F08arn8qU1aKDzr0/1+avT2bZw4xoFTQyPAJiXHRwASdhzyzcyOSCBTpXcUKDrZ58/5pPunTSmHCkyT0S0VRc8NrjSpkHvO73WXptimD/Ia/7h9AVfGyJLmvlWpbY8L1R4R25YyNzqKIbCedEIv8+cLRinD+PwxtIFx3jLtM9oJ+9za1CcjMAE+YRzrVo; 3:8cm1zjvdudF9UVBb43/pAjy9iWu69M4d+6CmJ9rz11+ZbLg2xv/XKjPH6Z6g0VS5cdymMhyPlRRbWatHwRD+m6eWLO+PXTPrKWwbaScB/pd9PoxGfNl19NJG5Meqs8iZ4ER/KQy8iGy/k49xEcl7yTZUgTEjlBGsqGqBkl3n6TTBliFWHgDfzzu97EgrYqHuDRxuzbxTEDzyeKK6K8dJ2e/I1XX1pQIRC1ao7GYWBoQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB248; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB248; 25:RxdusYzrCX/bRC1iyqNWfw7nAaNPVXXf2agGemlIsqbOtwybOwJB/1qsdARzYTR0O8IKbrJv8t4C0kTD9d5FbR/mQBtxd0sMDMdyvzYLzaJ17vM7GunkT4rmPJn/s9s9FQ8wWyh91U+z0GZipraDxSWAVioGXmNCtv0OlBXMQ/rjJYGUPym4hH5UQKVA87rMg9Yw8ldLPDWu/O9qfJ5RTl2vgE7+GXC6Bg94OcukQojEnaU2SLVycXV5Ei6EobvAaCrp7CHeU/jI9zYIqvo0l+pT72MPdcm94WPIF9e1sXrI0YuIsJKtn0WJJ0iSbCW0svbIoc8Cwe8q0Hb6VW8bk8bUkNXNgvCFA1na/li4Q3RRzsHVfVCVU8Fm2WhEzypv7ndzu8NyPiWSypxfcKU5Sao3dke0kNQcuhCJeHw1MVGKt6TGfdK0SH6d4/i0UoPJyNY/1id7B30nEYDyLK/W+0nZaVLh9b2C7TdLwaBxumgLmyJ+QcuCsYl2aL4pBUD6t+SCSJUTg4tKq9aE3NJZTR5C/yvNqF1XqRNNeLjRt4YIwlvQTKtUerxQUU5Rj6t8ubs4SRiMTdOf/9ePs0d2OxJ6ZRbR+Xa+zYTc8FpaD44jqkkNyHDPXVza1hIGeUa0A4sXadm1IeAM05g7XIOALYFERa+OofM+jhI+6BH1KHLhekf4AVn99s33ai5J12b2XYGG397nXpP8aShr0tAJwVDL34eK197k1XyZ5XW6ZxU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(5005006)(8121501046)(13017025)(13023025)(13018025)(13024025)(3002001)(10201501046)(6055026); SRVR:BLUPR03MB248; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB248; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB248; 4:nk3Yle40cByR4LjhAqDStzinzj3wR3LkthdWAMuXMICpalRldiC5izs8b7flMHHzd26P7Cis276Hm+RS2bTE6DxVJBOxb0Wrt4CgT5DklmGSbuRpamZTlbUjprvDDbKySZk3ppv8bcxUL67hWINorRRoBovG6z8pDD/5M5Lxc+BtpE+a4oMS+rNamwXPxR9xFLfXAo6zYeMhgEMPdNO6nx8e6tGoVEMNbLvsrRuIPDgNUb1aHDGT61MlqWcnEJnZQ+kTCU8uta40owi35hAngXhjUf3pswfUBrlo889PqjVHMlG0zTslDY58aMqwuNgAja1ttDXS4TAsi8BvD769E4JsuqsHNaOw6vsJTeXWAQQNcEfXudOurVqs5/jNIY0Qm+CWrbAWFjVgOWH0bu/pgD4QIa4W+vaqZzEpTXe+rX482GtMDl+nkDd082avi7B4ilYqLGK67zmbUwaplS6SKnYDHkurj8d5nd8D+ZxG1g9yYsgtfILE2i7OjB6ugPBu+fYkHeBPMGO5tq4yJAv6+Q== X-Forefront-PRVS: 0993689CD1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB248; 23:RvD6cMvyZwREtjqODtpY8om9G6dD0BM0/afGif6Krm?= =?us-ascii?Q?BrzWKg3NhgZ1Peqt7dKJHItuU7gzQfIzgz8goJuQrplH01zZN4JKdZfNH+Np?= =?us-ascii?Q?zeFewllTuj5zaU38Z4zQDjTACx9JJhUMAasFiw53k+LIKC8BNVPD7Oe2mene?= =?us-ascii?Q?DHJkbzK3ZYkEaIVbN6jRqWCGrZhUxrgU4gnnZDIvziufyNOrHiziftXkVUOS?= =?us-ascii?Q?Fn5kfF1Rgd4YNPkTu8hyLSArFqh8OEW25iHBnpxvwSu7zNoedJWNjXmpZyU/?= =?us-ascii?Q?XwLpggFaALi/beZvJN5RgUByABeTFE6G0RWxHdj7TJhazY+pk1RDJx0jfc+Q?= =?us-ascii?Q?x/w3QPVSeSsjzkVovxWdeVVFkHmxNo/0uFye1hxwGKzWc6YCTeRRzvjM5BlO?= =?us-ascii?Q?kIdzWC3WFLai4SA7fNs6ArPfIwLd1+mekFW7boXO1DzCzgNH2Y31L0gBmepW?= =?us-ascii?Q?rWMpkiOHbHwIcLvrT0t0UWm5GJedogwcwoDBtxRuRCne6029ibZKz1k6xcN8?= =?us-ascii?Q?5VShE/NhqGBf5RMDTJVCSkEWZ8KsmKfLaxo30pY6+91GdHeCH7z3ZfXKw/7D?= =?us-ascii?Q?Ml/ZfKx0zWYgsq4Zo1oI76KPMansx1hng8NQK0rbU74ZiTxOHbs6UDQcV2n8?= =?us-ascii?Q?nbrWAYdNLPwnRAWnHihxL4PSWXORcV5sS/qk6DxLYlWu63UEusAMXrq7mw+d?= =?us-ascii?Q?DseqCWdVeyVHQMnMSETkcg3afxxPz99viskai/Lu0LoVP2FTk0hmRBjmNe5t?= =?us-ascii?Q?q4DFm9ItoH3ouipOYHrkv3enwwZcbhh37bu1hIzDG/GThSHMd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9/4qPfuxoDvb01fmTW6/oQeOyfB2NKLrbM+gFXOqxPBGsXDLAbDn+UKUoCAaIsh+ibBz6nAIi19pHL1aU+EmsD+p319OpvZgKWJYXj7+vZ5TUMl6LHtamOswoXMk3IT6O6I1nEnvIpwSpSkgrsTcNx2XvIEvvAiVvruGm+Ko7/JPc2S5ATI0DdM1aDaAUEtQbqT/hWlUU1W/InrgTNQ11IfApamOzZAWiqdD5z43tfsQobtdRWpr5mB0XLYN1/LTAyyp2tEA12ZDZXOw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2016 07:23:06.9511 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB248 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160704_002329_897585_337C91A4 X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Chen , linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, sw0312.kim@samsung.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, inki.dae@samsung.com, kyungmin.park@samsung.com, linux-arm-kernel@lists.infradead.org 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 of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Signed-off-by: Peter Chen --- drivers/gpu/drm/exynos/exynos_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 58de5a4..e9591c7 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1828,6 +1828,7 @@ static int hdmi_probe(struct platform_device *pdev) DRM_ERROR("Failed to find ddc node in device tree\n"); return -ENODEV; } + of_node_put(dev->of_node); out_get_ddc_adpt: hdata->ddc_adpt = of_find_i2c_adapter_by_node(ddc_node); @@ -1846,6 +1847,7 @@ out_get_ddc_adpt: ret = -ENODEV; goto err_ddc; } + of_node_put(dev->of_node); out_get_phy_port: if (hdata->drv_data->is_apb_phy) {