From patchwork Tue Jul 5 02:04:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9213747 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 6BC3660752 for ; Tue, 5 Jul 2016 07:56:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E9DB28942 for ; Tue, 5 Jul 2016 07:56:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 52F4628946; Tue, 5 Jul 2016 07:56:01 +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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 078F828942 for ; Tue, 5 Jul 2016 07:56:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A4D216E51C; Tue, 5 Jul 2016 07:55:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 60970 seconds by postgrey-1.35 at gabe; Tue, 05 Jul 2016 02:12:18 UTC Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0086.outbound.protection.outlook.com [104.47.34.86]) by gabe.freedesktop.org (Postfix) with ESMTPS id CBBCB6E1EE for ; Tue, 5 Jul 2016 02:12:18 +0000 (UTC) Received: from BY2PR03CA049.namprd03.prod.outlook.com (10.141.249.22) by BL2PR03MB579.namprd03.prod.outlook.com (10.141.93.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16; Tue, 5 Jul 2016 02:12:17 +0000 Received: from BY2FFO11FD015.protection.gbl (2a01:111:f400:7c0c::167) by BY2PR03CA049.outlook.office365.com (2a01:111:e400:2c5d::22) 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; Tue, 5 Jul 2016 02:12:17 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; st.com; dkim=none (message not signed) header.d=none;st.com; dmarc=fail action=none header.from=nxp.com; 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 BY2FFO11FD015.mail.protection.outlook.com (10.1.14.131) with Microsoft SMTP Server (TLS) id 15.1.534.7 via Frontend Transport; Tue, 5 Jul 2016 02:12:16 +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 u652C4pd029660; Mon, 4 Jul 2016 19:12:14 -0700 From: Peter Chen To: Subject: [PATCH 4/7] gpu: drm: sti_hqvdp: add missing of_node_put after calling of_parse_phandle Date: Tue, 5 Jul 2016 10:04:51 +0800 Message-ID: <1467684294-20111-5-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467684294-20111-1-git-send-email-peter.chen@nxp.com> References: <1467684294-20111-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131121583367629367; (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)(1110001)(1109001)(339900001)(199003)(189002)(86362001)(5003940100001)(87936001)(33646002)(97736004)(50986999)(76176999)(77096005)(48376002)(4326007)(50226002)(110136002)(8936002)(50466002)(92566002)(2906002)(6806005)(2351001)(81166006)(2950100001)(104016004)(69596002)(19580395003)(8676002)(19580405001)(36756003)(68736007)(81156014)(47776003)(105606002)(7846002)(106466001)(11100500001)(356003)(189998001)(85426001)(8666005)(229853001)(586003)(305945005)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB579; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD015; 1:p3oSpnHXNPwmA/K7cK+XGYmUq3Y1wy5mMxw7dor6OxiUHKTN9MCgcWnUCd2Gx2MRyt9dPeq/0XEotyrTwYfwb0W8HS87g2sfSa3EK5FQGPSKlYdPD6EZhkmWDw7uOcIPEj1TVXrlmZFovtxkVIB5N9iXgsylEbjWi1I4vmfAVHlYf9ZbSH04J7jNqxagLGnu1/xGlXIrhdIp6jjUFMsvU1gVgj/rgwDK1PEBSHfB8Sf5qWaUCjQ7EslXGzPOU+ZuMgOV2OdXN0JZBc1zKOjHVm6lbvhnBKg2qj8ecqkmJrko7sJFkVQvBt/zRppwSNDButYg9fddyYKh3mWY2U99kTSrixG3Iur8CyQ2RrS5ZaBWf8yvXQ2ih5kgEHv1lyywPbYXaRdhGibI3OF/4OHGopg+NNMxWHJltysYEY7baIUDzuSefyEhXoRTXb1A5kVOsj5P8CJgQXNDYnF92r4tK7yAwmEJ2gPxP9fN+MELacFdA2Z5gXvBKOaCmIwLOM/eYvNoXKG0L/JsIx9O0wKkL0au/F5B9YvJEEll7aXaTjGwcj2SjY2gaknGykLjrhhAOAzWTLpjR0Fj4/fyUtP6zIsQ09P95dk7enox92OBYdahxGoDJ5KCMayA4io7Us8KpFN3xD8DvoazMKaHquCdRQ== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 2206c84f-9300-45ee-aa37-08d3a479c97a X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB579; 2:BoilahxuCNI+wze2TVqYQg2bW5rYv11E6+0yIxBlxbfPaHBgf2F1u/s8z7wB/GyQ646yfQ+765MfCUgVifrWTtBM9679mWNumoKJ2sdle07EZ42x+7+l61ddj3QKOGoQmM8JFUVxbPFk0YGh1Rw21sk7djkav04898Orrt26QrTZCUyWodHJtRW6PPy2vM6A; 3:AY84QHVij4/oHkPCD0E8NbQsLPATnAePzvMlfBSA4hMac+teKNq2dZi+vBsjHepD/4S+l8XTeIRnQaMnOBY5drpcBBg4G0og+1AoKy1joQp3vR1xtDCqSILQ645p/Jcb9PEG5JwSmPoDwN77iH1VhF/CsBBW7aNjVZPorw3jewayw6lbJIf99UALnptS7cSmu5hVnyzxlMcd5jknfFw4+44Fj986IFUkg/47SInzyMU=; 25:wGIK1ZNiw8jR6YTlZ0F/yhx0fHtQr/8HT7dl2W6Jjlj4KGDs09qlKRnkJNUtdR7G09pXiagIPnC4CSe+qRlzmMkXYkMKlC7Gzv1QpR/Ecs/k7nyoa6QknFIP5PHCciT/4ZlCQJjqgtRN/KF9W2birrv4wZZsUEyQ7ZlobVpmv+sBcrSWljlxCv0SbH4djwvJ03sHlK4OxUOI2WRoGUdLmPwKD/P6Da9nq0nIUTmpPyc1SauFB/MWdn9mFyz0oMqtA4U48KcQCjp3nn1dX8XOgwWA5wDhUBOhwBthQpSzt23SXlpiTUcPeAAqmXexiKJ2zVVX5iOKwJVxUyFjXTknfQvMCZAPVDM5HoDhYUmAZzv4pkW44F00AX2vYnHESiFUqrw5Bhcjk4F96ZosfxowhVrdSKwIYXp3juVRZ8TbalU= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB579; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB579; 31:hJUnKgijNFLi1ulYd644PmIPwlPlUCCQHeNB3ueRw3HmXa9FhT2SQdH8Ouk2wLOHMScHjNGHZEa+gXtFlfgF8obYow0lej9YieCpfu2EscMpwOfdQ5tQ4X8RFh6lHowzKerLFowzXKBWtz2uBYShfzlz/Cb95NnI3dgHvTnL0AGGsJ9bG0Xm9Faf5L+4imochs5LtqFtjjkIs5C0wUUvdg==; 4:fPjPVJ1IiK0FHcLNIHl7gV5d5jXVUyn3Xu3TT5oRHesyC0eRF/H9AayNA/jm+5C1kc5sl89rp0nDnKti3w/vz5F4/eBu+Ixw0+uM6BfcD/JAnKgMsaR232uNyFlSBWYMApwo9HETaRWTAi3yF6chvQTcxy+imKglUhoM540eDYv9dfLrFwHV9NaklB4OKZmrWRT/D83MmKnvbJ/zt1nPTMXJidjnb0YzU0CjNe0+BhAMbTvoLca2juvmPsIY2gNNcpA/aESvLD958QZAnG1NGFGE+JVenX5jW4oM53XpOjfuB5Y2k3zQDDOHFeLbA7K8TeZCyyU8f64cpJz3XHsHyFiBfC4/R64fdorVyEyHTUBH8hLIq1/0UpbglX6HLjR+YAIKcy63h2Kid0zeFYtbuKaByq0zKElpdYbJAiOElwyTXJXWriWbZOwhqBWow4BF5zqscmEQVXp8GT574Zon91oScF4EhhhYc10U0ocdE44K6hTHsCYl+JmpIAmerYyDFOO9jR1/lB9hJmPh8/Uvag== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(13023025)(13017025)(13015025)(13018025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:BL2PR03MB579; BCL:0; PCL:0; RULEID:(400006); SRVR:BL2PR03MB579; X-Forefront-PRVS: 0994F5E0C5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB579; 23:nHOD6w4+tTtbGr03OFwu6//YW02QCWSr3DgNwe6MPt?= =?us-ascii?Q?gAj5bge5u89MQIZgu2iJbRh/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zvm4VxUaK5WQFyqVwZHUlawqQdqvS03BI8RSEpBEfRKEULNdQqJVj6zT97PQGsNd78ieuKQcKAF6qfO2InqWtRR2cG+cmq/l SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2016 02:12:16.6537 (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: BL2PR03MB579 X-Mailman-Approved-At: Tue, 05 Jul 2016 07:55:49 +0000 Cc: Peter Chen , Vincent Abriou , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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. Cc: Benjamin Gaignard Cc: Vincent Abriou Signed-off-by: Peter Chen Acked-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_hqvdp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c index 1edec29..4f052fa 100644 --- a/drivers/gpu/drm/sti/sti_hqvdp.c +++ b/drivers/gpu/drm/sti/sti_hqvdp.c @@ -1346,6 +1346,7 @@ static int sti_hqvdp_probe(struct platform_device *pdev) vtg_np = of_parse_phandle(pdev->dev.of_node, "st,vtg", 0); if (vtg_np) hqvdp->vtg = of_vtg_find(vtg_np); + of_node_put(vtg_np); platform_set_drvdata(pdev, hqvdp);