Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232374
b: refs/heads/master
c: ff9531e
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Jan 18, 2011
1 parent 141c407 commit 8988daa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: c488a4731abb53aa1bab9fccd8a7472083159bfd
refs/heads/master: ff9531ec1caf0e062da132933e33878f94449274
4 changes: 3 additions & 1 deletion trunk/arch/arm/mach-shmobile/clock-sh7372.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ static int pllc2_set_rate(struct clk *clk, unsigned long rate)

value = __raw_readl(PLLC2CR) & ~(0x3f << 24);

__raw_writel((value & ~0x80000000) | ((idx + 19) << 24), PLLC2CR);
__raw_writel(value | ((idx + 19) << 24), PLLC2CR);

clk->rate = clk->freq_table[idx].frequency;

return 0;
}
Expand Down

0 comments on commit 8988daa

Please sign in to comment.