mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
spi: spi-fsl-lpspi: downgrade log level for pio mode
[ Upstream commit d5786c88ca ]
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>
Stable-dep-of: 003c7e01916c ("spi: spi-fsl-lpspi: Use IRQF_NO_AUTOEN flag in request_irq()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
713e85376b
commit
99b60d5a73
@@ -908,7 +908,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,
|
||||
|
||||
Reference in New Issue
Block a user