diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-05-31 18:56:35 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-06-01 09:42:13 +0200 |
commit | 15e091828592bf87d09a6e780eb9310628a9d79b (patch) | |
tree | ce7158445e359414a264af5891888a7cf3f932a8 /drivers/clk/renesas/clk-rcar-gen3.c | |
parent | 1713dac4399f35b38e6468ae932a2b435b022ecd (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>
Diffstat (limited to 'drivers/clk/renesas/clk-rcar-gen3.c')
-rw-r--r-- | drivers/clk/renesas/clk-rcar-gen3.c | 2 |
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 3a95647abed..4f10fd6352b 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; |