clk: renesas: Fix swapped div and mul in debug output on Gen2
The $div and $mul values were swapped in the debug output, fix this. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
45b01b462f
commit
4b135d5464
@ -121,7 +121,7 @@ static ulong gen2_clk_get_rate(struct clk *clk)
|
|||||||
|
|
||||||
case CLK_TYPE_FF:
|
case CLK_TYPE_FF:
|
||||||
rate = (gen2_clk_get_rate(&parent) * core->mult) / core->div;
|
rate = (gen2_clk_get_rate(&parent) * core->mult) / core->div;
|
||||||
debug("%s[%i] FIXED clk: parent=%i div=%i mul=%i => rate=%u\n",
|
debug("%s[%i] FIXED clk: parent=%i mul=%i div=%i => rate=%u\n",
|
||||||
__func__, __LINE__,
|
__func__, __LINE__,
|
||||||
core->parent, core->mult, core->div, rate);
|
core->parent, core->mult, core->div, rate);
|
||||||
return rate;
|
return rate;
|
||||||
|
Loading…
Reference in New Issue
Block a user