From patchwork Tue Jul 5 02:04:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9213737 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 CCFBC60752 for ; Tue, 5 Jul 2016 07:55:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFCBB28943 for ; Tue, 5 Jul 2016 07:55:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B463628945; Tue, 5 Jul 2016 07:55:55 +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 78FCE28943 for ; Tue, 5 Jul 2016 07:55:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AA7EB6E36B; Tue, 5 Jul 2016 07:55:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0080.outbound.protection.outlook.com [104.47.33.80]) by gabe.freedesktop.org (Postfix) with ESMTPS id 03AC26E1F4 for ; Tue, 5 Jul 2016 02:12:17 +0000 (UTC) Received: from BLUPR0301CA0010.namprd03.prod.outlook.com (10.162.113.148) by BN1PR03MB250.namprd03.prod.outlook.com (10.255.200.16) 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:15 +0000 Received: from BL2FFO11FD022.protection.gbl (2a01:111:f400:7c09::187) by BLUPR0301CA0010.outlook.office365.com (2a01:111:e400:5259::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.534.14 via Frontend Transport; Tue, 5 Jul 2016 02:12:15 +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 BL2FFO11FD022.mail.protection.outlook.com (10.173.161.101) with Microsoft SMTP Server (TLS) id 15.1.534.7 via Frontend Transport; Tue, 5 Jul 2016 02:12:14 +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 u652C4pc029660; Mon, 4 Jul 2016 19:12:12 -0700 From: Peter Chen To: Subject: [PATCH 3/7] gpu: drm: sti_vdo: add missing of_node_put after calling of_parse_phandle Date: Tue, 5 Jul 2016 10:04:50 +0800 Message-ID: <1467684294-20111-4-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: 131121583350607769; (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)(189002)(199003)(36756003)(8666005)(356003)(2950100001)(5003940100001)(81166006)(8936002)(81156014)(8676002)(69596002)(104016004)(50226002)(7846002)(48376002)(110136002)(2906002)(586003)(50466002)(4326007)(19580395003)(6806005)(85426001)(68736007)(19580405001)(97736004)(106466001)(189998001)(305945005)(50986999)(92566002)(86362001)(11100500001)(76176999)(2351001)(229853001)(87936001)(77096005)(105606002)(33646002)(47776003)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB250; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD022; 1:SmdgARqRj36As2m9gyCddv5YLK473GB/ZeRp+IyUiAALi5LxWz3YbUK4eMHjVLyIehp7FYwumFJTkYAeEXC9lS/2c5owXuPkZZajlsL7N+IIn80KR5Bft+9ow1iaFBWX7/b5vt8CQRUZPxC457hU1gNtcyXPvgwnJMNRtEg6haoVCzu//qlGsW7cAvgSmcTphaSrpn9k8rkwVMHBfX3EVPek4uRcHUqrvZsiRiBTj/VmwrlDUkYB/sQe5eYcXFHtOQGoWTzESCIgj55NE/BBAcZ47oKDNpYvDjaqkaQPLKmoaScJSwCgpxAwyoMpsGgwkLPFzDVOFGk8E+8xpZNLqm4XEq8yg9Dpx1+L+tIfWNYSXeKmiKrGCGxL/bGGhNG1yGChcQC56zRliGuBoWwSJDLPfvyCHhWlSV7Ll0E1X0+DoSdS4d+wWG4y6hCnH6LM2T2s2816S/EmEpUZ6G3YzvmzRXKg0GCdScJB1/KXkg5DZ6yiWlbvhXaVuTUR33K5Gxp59rT3CxADDUNF/uNZKSgWAfuPSxZc602cPHvQCPIBiCp0+jGggmUD8C3FP4cO4E//sZ51TwGZyLhGs5b7q0nRo7jT1cBq+JRx8nqtG2T4yb/mPHhfEfRwXJ1y8YZDgn5qYKnw89LECWzNv/VtwA== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 5ae53031-7df0-4efe-8e38-08d3a479c874 X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB250; 2:Du0xOrb0bpVGOvlCnynXtVktNIOWbv/+3p8XEfGx67QWXfGbK2D9+OW3ksFiY166TDbmoYDaD4ycmpO++9vQj08p+BJhNtHZpNI30UeDFO8ZUoAupVZzAy8DbK4nvc7TczRocf5EJGdN5ebhMlQArL9Te3wNaXZyCY8XfV5NSp4xaNxreWZdFxtr0JVwBtfO; 3:joJRUqIO5Qtp2HjLAKcZ05WJcChHiUuW0st5hXEIRTD+9cY0VzRFGH3h42DDCjxgWSuGb8GetXpbuz2sULZrnEK3YEEkklqCx0pFKvT0KVD7yQH0u4Q1VzxRhwHd8uzoYemQVIKYB2ClB2rrJT5vJ+7IyD5tOw6Bp+zMXRRmJNl6mt2onF8g7UXV+NxRs0vTMueGiF1e6XNcYqkTNYQ1qdsAhTcsXA4fQ/7/RkOCci8=; 25:InUbdruMB11mtefdEWTDlJ6yGrB7aF84a0Rtz9biRBE/H9gFfCZ9axCFB+m9fIAk9NZ3ik2stKaVyeb8yqfV/im5MYmvEzdPB6gn8iUs9fR3b+7DLBorH5X8TPxvkXhzsVDWJiQ5JmuHHyhWErpb73cqwDllbWJAHo0vcHJ6163ggy0opHwoNFNLffgiX0aew0T9PM6YkpGXfT1EIhhOKx7OIVfxoKPdVxHYCzDIZZ/RsY+yfjy5u+HAV0KXUXu3yV5scUvEp6uo4v5rfDhLHjDU0vhAC/fehuom5T3OoxFDfdCXQuYwHfAcz7bRkED3Ah6py6RuBxbPfBAydKnZpzZzZktB0+OUQVPEQrv7cblemnsvlO5aq4sie0YBc6Fo+L9inb48bUFPbzWAKN0PJz6W3od5NnVdj7ewBTOQAlc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB250; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB250; 31:jsWIwbkYfGLnbF/f1suYtmo5AXxar+rLpUen/1rBhaNSbXejaA+mCArxFKYwd1oTC3PzSpNyByNqaf5ppquDJduxw11x6RJImhw9nOjgm1w4PCFDsurm39Bg9MxA8Q1aWeLik1RLNiNwx8RQJ4nmWDiY50lIjJ4sQ/kPUM0ozyt2YCmn9xu2MCEcH6U/pqekep5MXIR09yqUuthS/7XXfQ==; 4:+hgGrKAbNyUBAVui8Bepb5Qm7v1/oeUTOXoQxxVbEy9kFJch2esrw8Vg1qDlIeVS5Ao1nhLi9qK0KVFP5IKyLVHXN+SzpFOBZSglgjjonWNeSr9y4brBMwIGkWwj/4Y+7XL1RH0Pz4N5jLWakFKy8OkaTk7TEeuRfnK+kGoWNJxQ4CkEbbgX9nI/jU+FM2ygyMM6oAbJxfT+St53F/XhukG3E/uI9SWYqv6Vda0YB2Cd3LwHgUqK6g9qVGjv0zX4UB8p3PL6SJVS0W9fdxCQicRm2ZQjiaeFrufJNROhlxZ5gTF1TdWIt6PJBYIA/kLPvAEW+rnDoP0qUweHxTenE295zlHmQ3jKz0J82+41WFLtLyEbdQTDLahmHTsk/uL13twbT73TQZoCBUxerwomK/X7PMj3AIal91CO4zbYO79TEkft6XuDh0M6lkNGVugqz12EvxmyYqGhSQ8gmTeD2vbh/2AdSzZyygGJ1+aKxJN69zAUAnHggrgACAnY6HuIqhCwewZLdskad09EM6O4hQ== 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)(13018025)(13017025)(13015025)(13023025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BN1PR03MB250; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR03MB250; X-Forefront-PRVS: 0994F5E0C5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR03MB250; 23:R1h4WJR0/1r1tvYcCXTu1D1ogSYxi+KV+Ar+ziTWiS?= =?us-ascii?Q?55h738E7AD0fdMgM1i4Q4EzjoguR8KkUWnWeEw/ZqKOiRcqS+cj2td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WaOmCiiPeF1ILqwFJyHrhvfs+DXYa+1dDaliQLOU+HJQu4Vwo8IKiEYshD2SelMSSSuA SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2016 02:12:14.7955 (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: BN1PR03MB250 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_dvo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sti/sti_dvo.c b/drivers/gpu/drm/sti/sti_dvo.c index 25f7663..7e211a8 100644 --- a/drivers/gpu/drm/sti/sti_dvo.c +++ b/drivers/gpu/drm/sti/sti_dvo.c @@ -602,6 +602,7 @@ static int sti_dvo_probe(struct platform_device *pdev) dvo->panel_node = of_parse_phandle(np, "sti,panel", 0); if (!dvo->panel_node) DRM_ERROR("No panel associated to the dvo output\n"); + of_node_put(dvo->panel_node); platform_set_drvdata(pdev, dvo);