summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2024-02-13 11:01:44 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-02-16 12:56:28 +0100
commitf2fcaf2992e863ea746b1e8858ca182614bb12c9 (patch)
tree107ba0f44b0ca7ec9a255d3f0cd2b2e2deebd3de
parent1db4fae6e97cbd57f10e179daa2f65dd34566113 (diff)
downloadbarebox-f2fcaf2992e8.tar.gz
barebox-f2fcaf2992e8.tar.xz
spi: atmel_spi: lower version log output from info to debug
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> Link: https://lore.barebox.org/20240213100146.2778891-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/spi/atmel_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c
index 5c42ff2e89..90f655dc3e 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;
}