clk: zynqmp: replace warn_once with pr_debug for failed clock ops
authorMichael Tretter <m.tretter@pengutronix.de>
Wed, 19 Jan 2022 11:54:34 +0000 (12:54 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 25 Jan 2022 01:18:23 +0000 (17:18 -0800)
commit4917394e0c765e89787ed8e296a0706cac51440d
treebf24e1f5af11d6104c18b405de034634bb39de49
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
clk: zynqmp: replace warn_once with pr_debug for failed clock ops

The warning that a clock operation failed is only printed once. However,
the function is called for various different clocks. The limit hides the
warnings if different clocks are affected by the failures.

The clock ops might fail if the firmware that handles the clocks is
misconfigured. Therefore, replace the pr_warn_once with pr_debug to
allow the user to see all errors if necessary. By default, hide the
error messages and let drivers handle the errors.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Link: https://lore.kernel.org/r/20220119115434.2042017-1-m.tretter@pengutronix.de
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/zynqmp/clk-gate-zynqmp.c
drivers/clk/zynqmp/clk-mux-zynqmp.c
drivers/clk/zynqmp/divider.c
drivers/clk/zynqmp/pll.c