All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] spi: lpspi: Silence error message upon deferred probe
@ 2021-11-08 14:55 Alexander Stein
  2021-11-12 21:27 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Stein @ 2021-11-08 14:55 UTC (permalink / raw)
  To: Mark Brown; +Cc: Alexander Stein, linux-spi

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>
---
 drivers/spi/spi-fsl-lpspi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 	}
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] spi: lpspi: Silence error message upon deferred probe
  2021-11-08 14:55 [PATCH 1/1] spi: lpspi: Silence error message upon deferred probe Alexander Stein
@ 2021-11-12 21:27 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2021-11-12 21:27 UTC (permalink / raw)
  To: Alexander Stein; +Cc: linux-spi

On Mon, 8 Nov 2021 15:55:23 +0100, Alexander Stein wrote:
> 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
> 
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-linus

Thanks!

[1/1] spi: lpspi: Silence error message upon deferred probe
      commit: 12f62a857c83b2efcbf8d9961aacd352bf81ad3d

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-12 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 14:55 [PATCH 1/1] spi: lpspi: Silence error message upon deferred probe Alexander Stein
2021-11-12 21:27 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.