[U-Boot] [PATCH u-boot 12/19] clk: meson: silence debug print

Neil Armstrong narmstrong at baylibre.com
Fri Nov 9 15:26:51 UTC 2018


From: Jerome Brunet <jbrunet at baylibre.com>

This debug print was not designed to be active in non-debug mode.

Signed-off-by: Jerome Brunet <jbrunet at baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
---
 drivers/clk/clk_meson.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c
index 509872b..87e959e 100644
--- a/drivers/clk/clk_meson.c
+++ b/drivers/clk/clk_meson.c
@@ -790,7 +790,7 @@ static ulong meson_clk_get_rate_by_id(struct clk *clk, unsigned long id)
 		return -ENOENT;
 	}
 
-	printf("clock %lu has rate %lu\n", id, rate);
+	debug("clock %lu has rate %lu\n", id, rate);
 	return rate;
 }
 
-- 
2.7.4



More information about the U-Boot mailing list