Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86613
b: refs/heads/master
c: ceee4f9
h: refs/heads/master
i:
  86611: f54244e
v: v3
  • Loading branch information
eric miao authored and Russell King committed Feb 29, 2008
1 parent 1c388c2 commit c939a1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a987e82cd9175215dec6339d383d64e551c8899
refs/heads/master: ceee4f98f73bb7a1f6ee6710b9ebffd0ecb8c0ca
8 changes: 0 additions & 8 deletions trunk/arch/arm/mach-pxa/pxa3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit c939a1b

Please sign in to comment.