diff options
author | Stefan Agner <stefan@agner.ch> | 2019-01-18 12:06:55 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-18 21:08:33 +0300 |
commit | 1aabff2508cbd184b0141f2d1b8712bacbb78cef (patch) | |
tree | 7e4a8b0677cb686582548eea0c7e221b315c4b96 /sound/soc/fsl/fsl_spdif.c | |
parent | e379ee969ecbc807c5b233460c2a88b6ee06bde3 (diff) | |
download | linux-1aabff2508cbd184b0141f2d1b8712bacbb78cef.tar.xz |
ASoC: fsl_spdif: don't print EPROBE_DEFER as error
Probe deferral is to be expected during normal operation, so avoid
printing an error when it is encountered.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.c')
-rw-r--r-- | sound/soc/fsl/fsl_spdif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 740b90df44bb..a26686e7281c 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1320,7 +1320,7 @@ static int fsl_spdif_probe(struct platform_device *pdev) } ret = imx_pcm_dma_init(pdev, IMX_SPDIF_DMABUF_SIZE); - if (ret) + if (ret && ret != -EPROBE_DEFER) dev_err(&pdev->dev, "imx_pcm_dma_init failed: %d\n", ret); return ret; |