diff mbox series

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

Message ID 1525852710-25880-1-git-send-email-eugen.hristev@microchip.com
State Accepted
Commit 649aa6cfe8113d9fe51ebd7d189dcf8524ee45bf
Delegated to: Tom Rini
Headers show
Series [U-Boot] clk: at91: clk-h32mx: replace dm_warn with dev_dbg | expand

Commit Message

Eugen Hristev May 9, 2018, 7:58 a.m. UTC
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@microchip.com>
---
 drivers/clk/at91/clk-h32mx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini May 24, 2018, 12:40 p.m. UTC | #1
On Wed, May 09, 2018 at 10:58:30AM +0300, Eugen Hristev wrote:

> 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@microchip.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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;
 }