linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: festevam@gmail.com (Fabio Estevam)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: imx: mm-imx3: Free l2x0_base
Date: Mon,  8 Jul 2013 14:58:38 -0300	[thread overview]
Message-ID: <1373306318-15604-3-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1373306318-15604-1-git-send-email-festevam@gmail.com>

From: Fabio Estevam <fabio.estevam@freescale.com>

After l2x0_base has been used, we should free it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 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
 }
 
-- 
1.8.1.2

  parent reply	other threads:[~2013-07-08 17:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08 17:58 [PATCH 1/3] ARM: imx: Select CACHE_L2X0 Fabio Estevam
2013-07-08 17:58 ` [PATCH 2/3] ARM: mx3: Select ARM_ERRATA_411920 Fabio Estevam
2013-07-08 18:06   ` Alexander Shiyan
2013-07-08 17:58 ` Fabio Estevam [this message]
2013-07-09  6:24   ` [PATCH 3/3] ARM: imx: mm-imx3: Free l2x0_base Shawn Guo
2013-07-09 18:16     ` Fabio Estevam
2013-07-09 18:20       ` Sascha Hauer
2013-07-10 16:53         ` Fabio Estevam
2013-07-10 17:29           ` Fabio Estevam
2013-07-09  6:26 ` [PATCH 1/3] ARM: imx: Select CACHE_L2X0 Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373306318-15604-3-git-send-email-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).