Skip to content
Commit 4917394e authored by Michael Tretter's avatar Michael Tretter Committed by Stephen Boyd
Browse files

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: default avatarMichael Tretter <m.tretter@pengutronix.de>
Link: https://lore.kernel.org/r/20220119115434.2042017-1-m.tretter@pengutronix.de


Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent e783362e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment