aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/clk/cpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sh/clk/cpg.c')
-rw-r--r--drivers/sh/clk/cpg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/sh/clk/cpg.c b/drivers/sh/clk/cpg.c
index 5e4301b936e7..ed8bc70730f5 100644
--- a/drivers/sh/clk/cpg.c
+++ b/drivers/sh/clk/cpg.c
@@ -15,15 +15,15 @@
15 15
16static int sh_clk_mstp32_enable(struct clk *clk) 16static int sh_clk_mstp32_enable(struct clk *clk)
17{ 17{
18 __raw_writel(__raw_readl(clk->enable_reg) & ~(1 << clk->enable_bit), 18 iowrite32(ioread32(clk->mapped_reg) & ~(1 << clk->enable_bit),
19 clk->enable_reg); 19 clk->mapped_reg);
20 return 0; 20 return 0;
21} 21}
22 22
23static void sh_clk_mstp32_disable(struct clk *clk) 23static void sh_clk_mstp32_disable(struct clk *clk)
24{ 24{
25 __raw_writel(__raw_readl(clk->enable_reg) | (1 << clk->enable_bit), 25 iowrite32(ioread32(clk->mapped_reg) | (1 << clk->enable_bit),
26 clk->enable_reg); 26 clk->mapped_reg);
27} 27}
28 28
29static struct clk_ops sh_clk_mstp32_clk_ops = { 29static struct clk_ops sh_clk_mstp32_clk_ops = {