Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326700
b: refs/heads/master
c: cd0a4a9
h: refs/heads/master
v: v3
  • Loading branch information
Chao Xie authored and Haojian Zhuang committed Aug 16, 2012
1 parent 6f3c2c0 commit 5c4caf5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: aff18a67078e61088ea05efa6d077ffb838786e9
refs/heads/master: cd0a4a9503345c7076978ecc81c38a1c61730bfe
8 changes: 6 additions & 2 deletions trunk/arch/arm/mach-pxa/clock-pxa3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ void clk_pxa3xx_cken_enable(struct clk *clk)

if (clk->cken < 32)
CKENA |= mask;
else
else if (clk->cken < 64)
CKENB |= mask;
else
CKENC |= mask;
}

void clk_pxa3xx_cken_disable(struct clk *clk)
Expand All @@ -137,8 +139,10 @@ void clk_pxa3xx_cken_disable(struct clk *clk)

if (clk->cken < 32)
CKENA &= ~mask;
else
else if (clk->cken < 64)
CKENB &= ~mask;
else
CKENC &= ~mask;
}

const struct clkops clk_pxa3xx_cken_ops = {
Expand Down

0 comments on commit 5c4caf5

Please sign in to comment.