linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] spi: pxa2xx: add driver enabling message
@ 2019-04-08 15:22 Flavio Suligoi
  2019-04-09 13:48 ` Jarkko Nikula
  2019-04-10 10:32 ` [PATCH " Mark Brown
  0 siblings, 2 replies; 14+ messages in thread
From: Flavio Suligoi @ 2019-04-08 15:22 UTC (permalink / raw)
  To: Daniel Mack, Haojian Zhuang, Robert Jarzmik, Mark Brown
  Cc: linux-arm-kernel, linux-spi, linux-kernel, Flavio Suligoi

Add an info message for the PXA2xx device driver start-up,
with the indication of the transfer mode used (DMA or GPIO).

This info is useful to individuate the timing when
the module starts.

Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
---
 drivers/spi/spi-pxa2xx.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c
index f7068cc..d449501 100644
--- a/drivers/spi/spi-pxa2xx.c
+++ b/drivers/spi/spi-pxa2xx.c
@@ -1826,6 +1826,9 @@ static int pxa2xx_spi_probe(struct platform_device *pdev)
 		goto out_error_clock_enabled;
 	}
 
+	dev_info(dev, "PXA2xx SPI master controller (%s mode)\n",
+		 platform_info->enable_dma ? "DMA" : "PIO");
+
 	return status;
 
 out_error_clock_enabled:
-- 
2.7.4


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

end of thread, other threads:[~2019-04-10 12:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08 15:22 [PATCH 1/1] spi: pxa2xx: add driver enabling message Flavio Suligoi
2019-04-09 13:48 ` Jarkko Nikula
2019-04-09 14:11   ` Flavio Suligoi
2019-04-10  7:55     ` Jarkko Nikula
2019-04-10  8:13       ` Flavio Suligoi
2019-04-10  8:29         ` Jarkko Nikula
2019-04-10  8:47           ` Flavio Suligoi
2019-04-10  9:47             ` [PATCH v2 " Flavio Suligoi
2019-04-10 10:11               ` Jarkko Nikula
2019-04-10 10:16                 ` Flavio Suligoi
2019-04-10 10:32 ` [PATCH " Mark Brown
2019-04-10 11:47   ` Flavio Suligoi
2019-04-10 11:54     ` Mark Brown
2019-04-10 12:01       ` Flavio Suligoi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).