Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp148014pxv; Wed, 14 Jul 2021 00:20:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4ZgmctXL3fMooiTouMibGCratVgVRgJY7rSLF/hHrXeglXuvPPixyTeiNH8IGZ3Lluy2f X-Received: by 2002:a17:906:a24c:: with SMTP id bi12mr10865406ejb.530.1626247252770; Wed, 14 Jul 2021 00:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626247252; cv=none; d=google.com; s=arc-20160816; b=cqbSiZVV285SfasEuxf4H561Twwmt0/nfSodYBHxJh/B0EsL619Kkk9vEhSbs3bYqF YOBU9Zno7qGGUQj/EXSZfGH4+HKB8U+pNIJFTIVs8CrJ2uT2Q46FG4qD0DBXwTEHCWwR MgCHQmZQ0HLOR8Xqg5W2pvBlgG8l5yb42fc+1beUrQuoXDnZTZ65Er7pTto9lwqMP8XD xYL2jrLVrihbIHLbDTnJSYMVZHROL2GJ3w989TIxsm3ApWnbqXMb7gFWNT15MCESwxz3 ViQy59t8ksUdB6zAbBh9FosdZkoC5pXYMn8poGf29IS5UyrwPotgYgRHQidh2MvzNaPo SyIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=h5CisFdT8dRhXRi8jgtnBXYZsHvT22jR6ICenxl0RDY=; b=I9oE/FAqezPthPVUV8NlZWblBznRIlLEcUQ1FbUxtcipTQr/As/LujLv5EQJMG2s4w 7JFOL/naXd55sVUhXTe+NcmihfAGXs6wYgb1HmlMs+jMwEIc90zQWa+LxFKkbJWPXaR6 BDyl9SN9S9BXT4WfAAFqwn2siBMqfA3+0zmMyCbTYoDtguIh0aV3vdKb0fH+rqLeHkO/ vvou5wrdu+yOeoBfVJGA36aojf9q3FCtEg5wNtGgmyKVWFfVZTRk3AtJuW7ZcYXHswka 1R9LaWrNw0Uv7RCYTuDobcQNoMO/XanNV4flsJW+h++C86zN3PRgMV+9rN0OFik5ELUF 3e5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZXpp2iLi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i22si1669611ejh.547.2021.07.14.00.20.29; Wed, 14 Jul 2021 00:20:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZXpp2iLi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238229AbhGNHWQ (ORCPT + 99 others); Wed, 14 Jul 2021 03:22:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:56380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238139AbhGNHWP (ORCPT ); Wed, 14 Jul 2021 03:22:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C20C3613B2; Wed, 14 Jul 2021 07:19:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626247164; bh=CYQk9xZNIgFk/5wW7NQ9Nf7e+pn0tCgRscirqolRy8A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZXpp2iLicQ9E3iiuitNF60d0UHLYApkCymiExJfRKXmlQGsrO4GbRr61Y63gaaP6F mZVTDH/xOXYn0QJoBiy1dLroCLL3oNC7fBg6U9YdVdL6TgvKM6Pfyd4qLvAdvm6dV+ iqItdxsGfTIWgo7enBSyPLdZZm6oIGJQuav74KEVH0lOFbqW4yRxGklKTe5zAHG3Dm SNd/BVI1pt98AFw6Iq2XJ3I1P/SaHa9UQxadpsk5/eW7qW0bXqJDKSci3CNml1+RQ1 x0ZIxY/7z0hKL3hr6O3ks4zVyKA7t2wsY/LtU84Yi2XNDR4LQGpKSN04FUh2cmauug d7hohD7TG/mmQ== Date: Wed, 14 Jul 2021 15:19:19 +0800 From: Shawn Guo To: Yang Yingliang Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com Subject: Re: [PATCH -next v2 0/2] ARM: imx: free resources Message-ID: <20210714071919.GB4419@dragon> References: <20210615125239.1348845-1-yangyingliang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210615125239.1348845-1-yangyingliang@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 15, 2021 at 08:52:37PM +0800, Yang Yingliang wrote: > mmdc_base need be unmapped and mmdc_ipg_clk need be disable and unprepared > in remove and error path. > > v2: > hold mmdc_base in structure and free the resources on error path. > > Yang Yingliang (2): > ARM: imx: add missing iounmap() > ARM: imx: add missing clk_disable_unprepare() Applied both, thanks.