Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283573
b: refs/heads/master
c: b3ab82b
h: refs/heads/master
i:
  283571: a6f7b55
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Dec 9, 2011
1 parent c96808d commit 4f00ee9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: eda2030a5b60bb818f062adacbcfb6fd2d366fb9
refs/heads/master: b3ab82b3eb191ad2cd8110cb5de0afb790337000
8 changes: 4 additions & 4 deletions trunk/drivers/sh/clk/cpg.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

static int sh_clk_mstp32_enable(struct clk *clk)
{
__raw_writel(__raw_readl(clk->enable_reg) & ~(1 << clk->enable_bit),
clk->enable_reg);
iowrite32(ioread32(clk->mapped_reg) & ~(1 << clk->enable_bit),
clk->mapped_reg);
return 0;
}

static void sh_clk_mstp32_disable(struct clk *clk)
{
__raw_writel(__raw_readl(clk->enable_reg) | (1 << clk->enable_bit),
clk->enable_reg);
iowrite32(ioread32(clk->mapped_reg) | (1 << clk->enable_bit),
clk->mapped_reg);
}

static struct clk_ops sh_clk_mstp32_clk_ops = {
Expand Down

0 comments on commit 4f00ee9

Please sign in to comment.