Skip to content

Commit d5786c8

Browse files
tq-steinabroonie
authored andcommitted
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>
1 parent 55c33e5 commit d5786c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/spi/spi-fsl-lpspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ static int fsl_lpspi_probe(struct platform_device *pdev)
917917
if (ret == -EPROBE_DEFER)
918918
goto out_pm_get;
919919
if (ret < 0)
920-
dev_err(&pdev->dev, "dma setup error %d, use pio\n", ret);
920+
dev_warn(&pdev->dev, "dma setup error %d, use pio\n", ret);
921921
else
922922
/*
923923
* disable LPSPI module IRQ when enable DMA mode successfully,

0 commit comments

Comments
 (0)