[U-Boot] [PATCH] clk: at91: clk-h32mx: replace dm_warn with dev_dbg

Eugen Hristev eugen.hristev at microchip.com
Wed May 9 07:58:30 UTC 2018


dm_warn is too noisy, replace with dev_dbg for less noise.

Based on original work by Wenyou Yang

Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
---
 drivers/clk/at91/clk-h32mx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/at91/clk-h32mx.c b/drivers/clk/at91/clk-h32mx.c
index 485a023..8f02d73 100644
--- a/drivers/clk/at91/clk-h32mx.c
+++ b/drivers/clk/at91/clk-h32mx.c
@@ -26,7 +26,7 @@ static ulong sama5d4_h32mx_clk_get_rate(struct clk *clk)
 		rate /= 2;
 
 	if (rate > H32MX_MAX_FREQ)
-		dm_warn("H32MX clock is too fast\n");
+		dev_dbg(clk->dev, "H32MX clock is too fast\n");
 
 	return rate;
 }
-- 
2.7.4



More information about the U-Boot mailing list