Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65b83427 authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Paul Mundt
Browse files

sh: fix sh7785 master clock value

parent 561c2bcc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -26,7 +26,7 @@ static int pfc_divisors[] = { 1, 1, 1, 1, 1, 1, 1, 18,


static void master_clk_init(struct clk *clk)
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 = {
static struct clk_ops sh7785_master_clk_ops = {