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

Commit 907c9d70 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Fix SH4-202 clock fwk set_rate() mismatch.



With the SH7722 changes, ->set_rate() also takes an algo_id,
SH4-202 was overlooked when this change went in.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 8b19a7ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate)
	return 0;
}

static int shoc_clk_set_rate(struct clk *clk, unsigned long rate)
static int shoc_clk_set_rate(struct clk *clk, unsigned long rate, int algo_id)
{
	unsigned long frqcr3;
	unsigned int tmp;