mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
sh: fix sh7785 master clock value
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
561c2bccc7
commit
65b83427c6
@ -26,7 +26,7 @@ static int pfc_divisors[] = { 1, 1, 1, 1, 1, 1, 1, 18,
|
||||
|
||||
static void master_clk_init(struct clk *clk)
|
||||
{
|
||||
clk->rate *= 36;
|
||||
clk->rate *= pfc_divisors[ctrl_inl(FRQMR1) & 0x000f];
|
||||
}
|
||||
|
||||
static struct clk_ops sh7785_master_clk_ops = {
|
||||
|
Loading…
Reference in New Issue
Block a user