[PATCH 07/15] mmc: bcm2835: Downrate message in case of PIO fallback

Stefan Wahren stefan.wahren at i2se.com
Tue Feb 7 12:45:46 PST 2017


Since DMA is optional we shouldn't log a PIO fallback as
an real error.

Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 drivers/mmc/host/bcm2835.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c
index b244cc5..64e308c 100644
--- a/drivers/mmc/host/bcm2835.c
+++ b/drivers/mmc/host/bcm2835.c
@@ -1319,7 +1319,7 @@ int bcm2835_add_host(struct bcm2835_host *host)
 
 	if (IS_ERR_OR_NULL(host->dma_chan_tx) ||
 	    IS_ERR_OR_NULL(host->dma_chan_rx)) {
-		dev_err(dev, "unable to initialise DMA channels. Falling back to PIO\n");
+		dev_warn(dev, "unable to initialise DMA channels. Falling back to PIO\n");
 		host->use_dma = false;
 	} else {
 		host->use_dma = true;
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list