Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295814
b: refs/heads/master
c: a624072
h: refs/heads/master
v: v3
  • Loading branch information
Wolfram Sang authored and Shawn Guo committed Jan 27, 2012
1 parent e71d1f1 commit 4901bca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bfc0b9c8a9d546eb53a3491c893fad72d96540cb
refs/heads/master: a62407256bbcba8e3f62695a87534050ceec0e6f
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-mxs/clock-mx28.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,10 @@ static int name##_set_rate(struct clk *clk, unsigned long rate) \
reg = __raw_readl(CLKCTRL_BASE_ADDR + HW_CLKCTRL_##rs); \
reg &= ~BM_CLKCTRL_##rs##_DIV; \
reg |= div << BP_CLKCTRL_##rs##_DIV; \
if (reg & (1 << clk->enable_shift)) { \
pr_err("%s: clock is gated\n", __func__); \
return -EINVAL; \
} \
__raw_writel(reg, CLKCTRL_BASE_ADDR + HW_CLKCTRL_##rs); \
\
for (i = 10000; i; i--) \
Expand Down

0 comments on commit 4901bca

Please sign in to comment.