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>
This commit is contained in:
Fabio Estevam 2020-08-18 19:35:18 -03:00 committed by Mark Brown
parent 485be87ac1
commit 0ec0da744b
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

View file

@ -1695,7 +1695,7 @@ static int spi_imx_probe(struct platform_device *pdev)
goto out_runtime_pm_put; goto out_runtime_pm_put;
if (ret < 0) 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); ret);
} }