Skip to contentSkip to conversation

clk: at91: clk-h32mx: replace dm_warn with dev_dbg

PATCH In review Eugen Hristev 2 participants 2 messages May 9, 2018 – May 24, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: at91: clk-h32mx: replace dm_warn with dev_dbg

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

Based on original work by Wenyou Yang

---
 drivers/clk/at91/clk-h32mx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/at91/clk-h32mx.c +1 -1
index 485a023..8f02d73 100644
@@ -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;
 }
Signature · 1 line
2.7.4
#1 lore raw
Quoted 5 lines · Eugen Hristev

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

Based on original work by Wenyou Yang

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180524/e3482e5a/attachment.sig>