summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-imx.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-08-18 19:35:18 -0300
committerMark Brown <broonie@kernel.org>2020-08-19 13:14:19 +0100
commit0ec0da744bbb11ebb49790e991171a13bf114f9f (patch)
treeec50aaf256a3f4ab1f2a90772f37b70509ee9811 /drivers/spi/spi-imx.c
parent485be87ac1d570b0c123820b3c2ccf365b2f841a (diff)
spi: imx: Do not print an error when PIO is used
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>
Diffstat (limited to 'drivers/spi/spi-imx.c')
-rw-r--r--drivers/spi/spi-imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index 38a5f1304cec..96ef297760fc 100644
--- a/drivers/spi/spi-imx.c
+++ b/drivers/spi/spi-imx.c
@@ -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);
}