mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
spi: imx: Don't print error on -EPROBEDEFER
This avoids
[ 0.962538] spi_imx 30820000.spi: bitbang start failed with -517
durig driver probe.
Fixes: 8197f489f4
("spi: imx: Fix failure path leak on GPIO request error correctly")
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/0f51ab42e7c7a3452f2f8652794d81584303ea0d.1610987414.git.agx@sigxcpu.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
de634b8986
commit
8346633f2c
1 changed files with 1 additions and 1 deletions
|
@ -1685,7 +1685,7 @@ static int spi_imx_probe(struct platform_device *pdev)
|
||||||
master->dev.of_node = pdev->dev.of_node;
|
master->dev.of_node = pdev->dev.of_node;
|
||||||
ret = spi_bitbang_start(&spi_imx->bitbang);
|
ret = spi_bitbang_start(&spi_imx->bitbang);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(&pdev->dev, "bitbang start failed with %d\n", ret);
|
dev_err_probe(&pdev->dev, ret, "bitbang start failed\n");
|
||||||
goto out_bitbang_start;
|
goto out_bitbang_start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue