]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xxx: change "no DMA channels..." msg from debug to warning
authorFlavio Suligoi <f.suligoi@asem.it>
Fri, 5 Apr 2019 12:40:22 +0000 (14:40 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Apr 2019 07:09:27 +0000 (14:09 +0700)
commit560abc8594e04ddbdc21d52e35714bc2ee1f1084
tree9d0ecad15aaeee1a85003c2f3968caba5472e61b
parenta4d45b0ed4afbedecc9949e343eab7dfd1b4b8f5
spi: pxa2xxx: change "no DMA channels..." msg from debug to warning

Change the type of the diagnostic message:

"no DMA channels available, using PIO"

from debug to warning.

The lack of an available DMA channel is very important regard the
spi-pxa2xx performance. The transfer speed can be reduced more than 50%.

So it is very important to warn the user about this, without enabling
the full SPI debug with CONFIG_SPI_DEBUG.

Moreover, enabling the full SPI debug only to enable this specific
debug message, the dmesg buffer fills quickly with a lot of
repetitive information during the SPI data transfer.
This cause the loss of all the first important messages
written during the initialization.

Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c