summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-05-31 18:56:35 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2018-06-01 09:42:13 +0200
commit15e091828592bf87d09a6e780eb9310628a9d79b (patch)
treece7158445e359414a264af5891888a7cf3f932a8
parent1713dac4399f35b38e6468ae932a2b435b022ecd (diff)
clk: renesas: Fix swapped arguments in debug message
The mul and div arguments were reported in reverse order in the debug message, swap them to fix this. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-rw-r--r--drivers/clk/renesas/clk-rcar-gen3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/renesas/clk-rcar-gen3.c b/drivers/clk/renesas/clk-rcar-gen3.c
index 3a95647abe..4f10fd6352 100644
--- a/drivers/clk/renesas/clk-rcar-gen3.c
+++ b/drivers/clk/renesas/clk-rcar-gen3.c
@@ -230,7 +230,7 @@ static ulong gen3_clk_get_rate(struct clk *clk)
case CLK_TYPE_FF:
case CLK_TYPE_GEN3_PE: /* FIXME */
rate = (gen3_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__,
core->parent, core->mult, core->div, rate);
return rate;