diff mbox

[75/75] ARM: l2c: imx: remove direct write to power control register

Message ID E1WTYaQ-0007I4-0D@rmk-PC.arm.linux.org.uk
State New
Headers show

Commit Message

Russell King March 28, 2014, 3:20 p.m. UTC
Now that we handle this in core code, we don't need platforms enabling
the low power modes directly.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 arch/arm/mach-imx/system.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Shawn Guo April 3, 2014, 6:33 a.m. UTC | #1
On Fri, Mar 28, 2014 at 03:20:50PM +0000, Russell King wrote:
> Now that we handle this in core code, we don't need platforms enabling
> the low power modes directly.
> 
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

For patches that I'm on Cc:

Acked-by: Shawn Guo <shawn.guo@linaro.org>
Russell King - ARM Linux April 3, 2014, 6:53 p.m. UTC | #2
On Thu, Apr 03, 2014 at 02:33:12PM +0800, Shawn Guo wrote:
> On Fri, Mar 28, 2014 at 03:20:50PM +0000, Russell King wrote:
> > Now that we handle this in core code, we don't need platforms enabling
> > the low power modes directly.
> > 
> > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> 
> For patches that I'm on Cc:
> 
> Acked-by: Shawn Guo <shawn.guo@linaro.org>

Not a particularly helpful way to send an ack, because I don't have a
record other than the emails on the mailing list of which to add that
to...  I'll do my best, but I'm not going to make any guarantees of
getting that right.
Shawn Guo April 3, 2014, 11:10 p.m. UTC | #3
On Thu, Apr 03, 2014 at 07:53:16PM +0100, Russell King - ARM Linux wrote:
> On Thu, Apr 03, 2014 at 02:33:12PM +0800, Shawn Guo wrote:
> > On Fri, Mar 28, 2014 at 03:20:50PM +0000, Russell King wrote:
> > > Now that we handle this in core code, we don't need platforms enabling
> > > the low power modes directly.
> > > 
> > > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> > 
> > For patches that I'm on Cc:
> > 
> > Acked-by: Shawn Guo <shawn.guo@linaro.org>
> 
> Not a particularly helpful way to send an ack, because I don't have a
> record other than the emails on the mailing list of which to add that
> to...  I'll do my best, but I'm not going to make any guarantees of
> getting that right.

Right, it should be much easier for me to find them out than you.  They
are #5, #49, #68 and #75.

Shawn
diff mbox

Patch

diff --git a/arch/arm/mach-imx/system.c b/arch/arm/mach-imx/system.c
index 59013a81107b..3b0733edb68c 100644
--- a/arch/arm/mach-imx/system.c
+++ b/arch/arm/mach-imx/system.c
@@ -138,8 +138,6 @@  void __init imx_init_l2cache(void)
 	if (cpu_is_imx6q())
 		val &= ~(1 << 30 | 1 << 23);
 	writel_relaxed(val, l2x0_base + L310_PREFETCH_CTRL);
-	val = L310_DYNAMIC_CLK_GATING_EN | L310_STNDBY_MODE_EN;
-	writel_relaxed(val, l2x0_base + L310_POWER_CTRL);
 
 	iounmap(l2x0_base);
 	of_node_put(np);