diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-05-31 09:28:49 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-31 13:25:16 +0200 |
commit | d5786c88cacbb859f465e8e93c26154585c1008d (patch) | |
tree | 98125157ea9ea04f7ec5d3c2703c0c51b19a460e /drivers/spi/spi-fsl-lpspi.c | |
parent | spi: spi-qcom-qspi: Add newline to PIO fallback warning (diff) | |
download | linux-d5786c88cacbb859f465e8e93c26154585c1008d.tar.xz linux-d5786c88cacbb859f465e8e93c26154585c1008d.zip |
spi: spi-fsl-lpspi: downgrade log level for pio mode
Having no DMA is not an error. The simplest reason is not having it
configured. SPI will still be usable, so raise a warning instead to
get still some attention.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20230531072850.739021-1-alexander.stein@ew.tq-group.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-lpspi.c')
-rw-r--r-- | drivers/spi/spi-fsl-lpspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c index 80f7367095ab..fb68c72df171 100644 --- a/drivers/spi/spi-fsl-lpspi.c +++ b/drivers/spi/spi-fsl-lpspi.c @@ -917,7 +917,7 @@ static int fsl_lpspi_probe(struct platform_device *pdev) if (ret == -EPROBE_DEFER) goto out_pm_get; if (ret < 0) - dev_err(&pdev->dev, "dma setup error %d, use pio\n", ret); + dev_warn(&pdev->dev, "dma setup error %d, use pio\n", ret); else /* * disable LPSPI module IRQ when enable DMA mode successfully, |