mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] spi: atmel_spi: lower version log output from info to debug
@ 2024-02-13 10:01 Ahmad Fatoum
  2024-02-13 10:01 ` [PATCH 2/3] mci: atmel_mci: " Ahmad Fatoum
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ahmad Fatoum @ 2024-02-13 10:01 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The IP version won't change from one boot to the next, so it's not
useful to print this every time. Lower it to debug level instead.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 drivers/spi/atmel_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c
index 5c42ff2e89c5..90f655dc3ecb 100644
--- a/drivers/spi/atmel_spi.c
+++ b/drivers/spi/atmel_spi.c
@@ -378,7 +378,7 @@ static void atmel_get_caps(struct atmel_spi *as)
 	unsigned int version;
 
 	version = atmel_get_version(as);
-	dev_info(as->master.dev, "version: 0x%x\n", version);
+	dev_dbg(as->master.dev, "version: 0x%x\n", version);
 
 	as->caps.is_spi2 = version > 0x121;
 }
-- 
2.39.2




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-16 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13 10:01 [PATCH 1/3] spi: atmel_spi: lower version log output from info to debug Ahmad Fatoum
2024-02-13 10:01 ` [PATCH 2/3] mci: atmel_mci: " Ahmad Fatoum
2024-02-13 10:01 ` [PATCH 3/3] mci: atmel_mci: mark atmci_setup_data very verbose debug print Ahmad Fatoum
2024-02-16 11:56 ` [PATCH 1/3] spi: atmel_spi: lower version log output from info to debug Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox