spi: imx: Do not print an error when PIO is used
authorFabio Estevam <festevam@gmail.com>
Tue, 18 Aug 2020 22:35:18 +0000 (19:35 -0300)
committerMark Brown <broonie@kernel.org>
Wed, 19 Aug 2020 12:14:19 +0000 (13:14 +0100)
There are cases that DMA is not used and the driver gracefully
falls back to PIO mode.

Do not treat it like an error message and move it to debug level instead.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20200818223519.8737-1-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c

index 38a5f13..96ef297 100644 (file)
@@ -1695,7 +1695,7 @@ static int spi_imx_probe(struct platform_device *pdev)
                        goto out_runtime_pm_put;
 
                if (ret < 0)
-                       dev_err(&pdev->dev, "dma setup error %d, use pio\n",
+                       dev_dbg(&pdev->dev, "dma setup error %d, use pio\n",
                                ret);
        }