From 289dd9f0720dbbefd6092b9388ad60cc42cb358a Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Fri, 31 Jan 2020 14:39:47 +0100 Subject: [PATCH] serial_lpuart: make clock failure less verbose Some device may enable CONFIG_CLK but not still support this clock in CC, so better use debug() in place of dev_warn() otherwise a lot of boards will throw useless dev_warn()s. Signed-off-by: Giulio Benetti Reviewed-by: Simon Glass --- drivers/serial/serial_lpuart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c index d7907a228fe..3b53f5a97bb 100644 --- a/drivers/serial/serial_lpuart.c +++ b/drivers/serial/serial_lpuart.c @@ -499,7 +499,7 @@ static int lpuart_serial_probe(struct udevice *dev) return ret; } } else { - dev_warn(dev, "Failed to get per clk: %d\n", ret); + debug("%s: Failed to get per clk: %d\n", __func__, ret); } #endif