public inbox for linux-spi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spi: tegra210-quad: downgrade the log when fall back to PIO
@ 2025-11-27 13:02 Guixin Liu
  2025-12-04  1:46 ` Guixin Liu
  2025-12-10  4:24 ` Jon Hunter
  0 siblings, 2 replies; 6+ messages in thread
From: Guixin Liu @ 2025-11-27 13:02 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter, Sowjanya Komatineni,
	Laxman Dewangan, Mark Brown
  Cc: linux-tegra, linux-spi

When the machine boots using ACPI, Tegra cannot use DMA and falls back
to PIO. In this case, logging these messages as "Error" may confuse
users into thinking it is an actual error; therefore, these two log
messages should be downgraded to "Info" level.

Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
---
 drivers/spi/spi-tegra210-quad.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/spi-tegra210-quad.c b/drivers/spi/spi-tegra210-quad.c
index 3be7499db21e..2189904b931d 100644
--- a/drivers/spi/spi-tegra210-quad.c
+++ b/drivers/spi/spi-tegra210-quad.c
@@ -823,8 +823,8 @@ static int tegra_qspi_init_dma(struct tegra_qspi *tqspi)
 	tegra_qspi_deinit_dma(tqspi);
 
 	if (err != -EPROBE_DEFER) {
-		dev_err(tqspi->dev, "cannot use DMA: %d\n", err);
-		dev_err(tqspi->dev, "falling back to PIO\n");
+		dev_info(tqspi->dev, "cannot use DMA: %d\n", err);
+		dev_info(tqspi->dev, "falling back to PIO\n");
 		return 0;
 	}
 
-- 
2.43.0


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

end of thread, other threads:[~2025-12-11  3:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27 13:02 [PATCH] spi: tegra210-quad: downgrade the log when fall back to PIO Guixin Liu
2025-12-04  1:46 ` Guixin Liu
2025-12-04 12:33   ` Mark Brown
2025-12-05  2:14     ` Guixin Liu
2025-12-10  4:24 ` Jon Hunter
2025-12-11  3:44   ` Guixin Liu

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