Commit f7363861 authored by Sascha Hauer's avatar Sascha Hauer Committed by Mike Turquette

clk: turn rate change failed warning into pr_debug

If a rate change failed it's the opportunity of the caller to handle
this. Do not spam the log with a message.
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 35c1983e
...@@ -1591,7 +1591,7 @@ int clk_set_rate(struct clk *clk, unsigned long rate) ...@@ -1591,7 +1591,7 @@ int clk_set_rate(struct clk *clk, unsigned long rate)
/* notify that we are about to change rates */ /* notify that we are about to change rates */
fail_clk = clk_propagate_rate_change(top, PRE_RATE_CHANGE); fail_clk = clk_propagate_rate_change(top, PRE_RATE_CHANGE);
if (fail_clk) { if (fail_clk) {
pr_warn("%s: failed to set %s rate\n", __func__, pr_debug("%s: failed to set %s rate\n", __func__,
fail_clk->name); fail_clk->name);
clk_propagate_rate_change(top, ABORT_RATE_CHANGE); clk_propagate_rate_change(top, ABORT_RATE_CHANGE);
ret = -EBUSY; ret = -EBUSY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment