Message ID | 20221109184253.40531-1-steffen.kothe@skothe.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | drivers: clk: clk-conf.c: Move err to warn msg for clk re-parenting | expand |
diff --git a/drivers/clk/clk-conf.c b/drivers/clk/clk-conf.c index 2ef819606c417..d83591dc22356 100644 --- a/drivers/clk/clk-conf.c +++ b/drivers/clk/clk-conf.c @@ -62,7 +62,7 @@ static int __set_clk_parents(struct device_node *node, bool clk_supplier) rc = clk_set_parent(clk, pclk); if (rc < 0) - pr_err("clk: failed to reparent %s to %s: %d\n", + pr_warn("clk: failed to reparent %s to %s: %d\n", __clk_get_name(clk), __clk_get_name(pclk), rc); clk_put(clk); clk_put(pclk);
Failed clock re-parenting does not necessarily imply critical errors since systems can initialize clocks which prohibit it by default and purpose. The error does not even imply any required handling which should treat as a warning then. Signed-off-by: Steffen Kothe <steffen.kothe@skothe.de> --- drivers/clk/clk-conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.30.2