summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authoreric miao <eric.y.miao@gmail.com>2008-02-27 02:01:11 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-02-29 23:47:27 +0100
commitceee4f98f73bb7a1f6ee6710b9ebffd0ecb8c0ca (patch)
tree621964f6e1e0944740770082a2bb6a1d5037a80d /arch/arm
parent[ARM] 4841/1: pxa: fix typo in LCD platform data definition code for zylonite (diff)
downloadlinux-ceee4f98f73bb7a1f6ee6710b9ebffd0ecb8c0ca.tar.xz
linux-ceee4f98f73bb7a1f6ee6710b9ebffd0ecb8c0ca.zip
[ARM] 4842/1: pxa: remove redundant IRQ saving/restoring in clk_pxa3xx_cken_*
This is unnecessary since it is already protected by spin_lock_irq{save, restore} in clock.c. Signed-off-by: eric miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-pxa/pxa3xx.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c
index 7cd9ef8deb02..35f25fdaeba3 100644
--- a/arch/arm/mach-pxa/pxa3xx.c
+++ b/arch/arm/mach-pxa/pxa3xx.c
@@ -129,28 +129,20 @@ static void clk_pxa3xx_cken_enable(struct clk *clk)
{
unsigned long mask = 1ul << (clk->cken & 0x1f);
- local_irq_disable();
-
if (clk->cken < 32)
CKENA |= mask;
else
CKENB |= mask;
-
- local_irq_enable();
}
static void clk_pxa3xx_cken_disable(struct clk *clk)
{
unsigned long mask = 1ul << (clk->cken & 0x1f);
- local_irq_disable();
-
if (clk->cken < 32)
CKENA &= ~mask;
else
CKENB &= ~mask;
-
- local_irq_enable();
}
static const struct clkops clk_pxa3xx_cken_ops = {