diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2021-11-08 15:55:23 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-12 19:18:00 +0100 |
commit | 12f62a857c83b2efcbf8d9961aacd352bf81ad3d (patch) | |
tree | b5b1b344af4d6209c8664344ca2c83d4826e07ef /drivers/spi/spi-fsl-lpspi.c | |
parent | spi: cadence-quadspi: fix write completion support (diff) | |
download | linux-12f62a857c83b2efcbf8d9961aacd352bf81ad3d.tar.xz linux-12f62a857c83b2efcbf8d9961aacd352bf81ad3d.zip |
spi: lpspi: Silence error message upon deferred probe
Do not print error messages with error code -517. Silences the following
errors upon on imx8qm:
fsl_lpspi 5a000000.spi: spi_register_controller error: -517
fsl_lpspi 5a010000.spi: spi_register_controller error: -517
fsl_lpspi 5a020000.spi: spi_register_controller error: -517
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20211108145523.1797609-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 5d98611dd999..c72e501c270f 100644 --- a/drivers/spi/spi-fsl-lpspi.c +++ b/drivers/spi/spi-fsl-lpspi.c @@ -912,7 +912,7 @@ static int fsl_lpspi_probe(struct platform_device *pdev) ret = devm_spi_register_controller(&pdev->dev, controller); if (ret < 0) { - dev_err(&pdev->dev, "spi_register_controller error.\n"); + dev_err_probe(&pdev->dev, ret, "spi_register_controller error: %i\n", ret); goto out_pm_get; } |