From patchwork Mon May 24 07:06:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Yingliang X-Patchwork-Id: 1482849 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fpj8w1x5Xz9sRf for ; Tue, 25 May 2021 02:19:44 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=uboQC3A5BwF8Q+mC4yp6glVXSeJdhPHZHR+NH3LLDc4=; b=5FHQGD0pErCgpa FXRUbVtxdiumKXA3y6A0QU4oeH//mVqQBpOsCErD+GIDuMR11IWtOjhBSAcW03aRDLUjI46iMvmQL Bckggl1Pk61qN5eV6vlOBiq+4S5Edu5s4Ds6JWmctOgxNGwYQXSXA9+lZudoWYhiQ1HR7YJyMowhj kB+bavLXn8XfOoPu5vl9VRHHKYHhjpScZ0WqI/DOZ1h4AJlYiJKHTWiTJAQRCiCQOM2LFRm2rFIK4 /20PP0YO+Wdjn0i3D/uZ7m2A4Nb9nS4biDUz6sWnFvDy/EVKSnre0q68GLKgKk0Xld5975PbICvcu //Iwct5YN+ovIPXyC82g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1llDIF-0014D2-LV; Mon, 24 May 2021 16:19:03 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ll4bc-000jJU-3J for linux-arm-kernel@lists.infradead.org; Mon, 24 May 2021 07:02:29 +0000 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FpSjf0J9MzmkhL; Mon, 24 May 2021 14:58:46 +0800 (CST) Received: from dggpeml500017.china.huawei.com (7.185.36.243) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 24 May 2021 15:02:20 +0800 Received: from huawei.com (10.175.103.91) by dggpeml500017.china.huawei.com (7.185.36.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 24 May 2021 15:02:20 +0800 From: Yang Yingliang To: , , CC: Subject: [PATCH -next 0/2] ARM: imx: free resources in imx_mmdc_remove() Date: Mon, 24 May 2021 15:06:58 +0800 Message-ID: <20210524070700.3032039-1-yangyingliang@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.175.103.91] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpeml500017.china.huawei.com (7.185.36.243) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210524_000228_321331_CA0870EE X-CRM114-Status: UNSURE ( 4.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: mmdc_base need be unmapped and mmdc_ipg_clk need be disable and unprepared. Yang Yingliang (2): ARM: imx: add missing iounmap() in imx_mmdc_remove() ARM: imx: add missing clk_disable_unprepare() in imx_mmdc_remove() Content analysis details: (-2.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [45.249.212.190 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [45.249.212.190 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org mmdc_base need be unmapped and mmdc_ipg_clk need be disable and unprepared. Yang Yingliang (2): ARM: imx: add missing iounmap() in imx_mmdc_remove() ARM: imx: add missing clk_disable_unprepare() in imx_mmdc_remove() arch/arm/mach-imx/mmdc.c | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-)