From patchwork Mon Jul 8 17:58:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 257583 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0861B2C02ED for ; Tue, 9 Jul 2013 04:00:17 +1000 (EST) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwFio-00063O-NW; Mon, 08 Jul 2013 17:59:35 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwFij-0005Hh-Dr; Mon, 08 Jul 2013 17:59:29 +0000 Received: from mail-qc0-x231.google.com ([2607:f8b0:400d:c01::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwFic-0005GJ-9J for linux-arm-kernel@lists.infradead.org; Mon, 08 Jul 2013 17:59:23 +0000 Received: by mail-qc0-f177.google.com with SMTP id n1so2415062qcx.8 for ; Mon, 08 Jul 2013 10:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=pG/6fuym0ceG8Pi7I8HXAUHODvTWRUEr/wsYs9vrcqg=; b=upW3KtOQZo5swakavXG679hfG8ORNIW2KW1hwNUnqf6Jw/BAnBmbEFvvokvHl0/QKq jHfrH6WxuiGb4mXSgWqqEBMqHuuQPKZIMhsKUpA4kqR8dSpHvzihbo40pR97Fid/gJp0 qp+cYPP8bnuF4ECK3ZsO4U1rrFPUbtEcznE/HhWZ5lCqGhD0g+YRLp1r/+kGpXcM+ww2 KO6HvQOJh07XZKJ3QlO1alWo7L5pyfAEyLyPLChjZknDEJfVip2qtq+iPelvSTmn9Aks mADuUveJosjQzOTu2bBnaSXuo/Q0d8Fds7vJlWA77w0J5oEu04v2Dr0llk2Wf23/drRq nLDw== X-Received: by 10.229.175.196 with SMTP id bb4mr3994712qcb.11.1373306341115; Mon, 08 Jul 2013 10:59:01 -0700 (PDT) Received: from localhost.localdomain ([189.5.19.145]) by mx.google.com with ESMTPSA id 2sm15472270qap.7.2013.07.08.10.58.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Jul 2013 10:59:00 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH 3/3] ARM: imx: mm-imx3: Free l2x0_base Date: Mon, 8 Jul 2013 14:58:38 -0300 Message-Id: <1373306318-15604-3-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1373306318-15604-1-git-send-email-festevam@gmail.com> References: <1373306318-15604-1-git-send-email-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130708_135922_931864_23D11E0C X-CRM114-Status: GOOD ( 10.06 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Fabio Estevam , kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam After l2x0_base has been used, we should free it. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/mm-imx3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c index 0884ca9..3143f5e 100644 --- a/arch/arm/mach-imx/mm-imx3.c +++ b/arch/arm/mach-imx/mm-imx3.c @@ -113,6 +113,7 @@ static void __init imx3_init_l2x0(void) } l2x0_init(l2x0_base, 0x00030024, 0x00000000); + iounmap(l2x0_base); #endif }