diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-08-18 18:33:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-21 17:25:06 +0100 |
commit | e5d619e9b924c03b4e5e6be7c03f1346150104b9 (patch) | |
tree | 937204cba71c65768a811788c206ac24483db3a1 | |
parent | 4c316783ee88eee4f045fbb31344471c6607b6ed (diff) | |
download | lwn-e5d619e9b924c03b4e5e6be7c03f1346150104b9.tar.gz lwn-e5d619e9b924c03b4e5e6be7c03f1346150104b9.zip |
ASoC: fsl-asoc-card: 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: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/fsl/fsl-asoc-card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index 9998aea23597..2db4d0c80d33 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -683,7 +683,7 @@ static int fsl_asoc_card_probe(struct platform_device *pdev) snd_soc_card_set_drvdata(&priv->card, priv); ret = devm_snd_soc_register_card(&pdev->dev, &priv->card); - if (ret) + if (ret && ret != -EPROBE_DEFER) dev_err(&pdev->dev, "snd_soc_register_card failed (%d)\n", ret); asrc_fail: |