summaryrefslogtreecommitdiff
path: root/sound/soc/samsung/smdk_wm8994.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2020-02-28 11:11:20 +0100
committerMark Brown <broonie@kernel.org>2020-02-28 17:28:29 +0000
commit1a1b3743487317514f7d5d66dd9d6c9233321eba (patch)
tree31e94af1483e2c0f651712bc8e3924a037a8e930 /sound/soc/samsung/smdk_wm8994.c
parenta3c2e894cdafbfa376a28a89a60df415b6ab6ee6 (diff)
downloadlwn-1a1b3743487317514f7d5d66dd9d6c9233321eba.tar.gz
lwn-1a1b3743487317514f7d5d66dd9d6c9233321eba.zip
ASoC: samsung: Silence warnings during deferred probe
Don't confuse user with meaningless warning about the failure in getting resources and registering card in case of deferred probe. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200228101120.28819-1-m.szyprowski@samsung.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/smdk_wm8994.c')
-rw-r--r--sound/soc/samsung/smdk_wm8994.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c
index 28f8be000aa1..8fa5f6b387ad 100644
--- a/sound/soc/samsung/smdk_wm8994.c
+++ b/sound/soc/samsung/smdk_wm8994.c
@@ -178,7 +178,7 @@ static int smdk_audio_probe(struct platform_device *pdev)
ret = devm_snd_soc_register_card(&pdev->dev, card);
- if (ret)
+ if (ret && ret != -EPROBE_DEFER)
dev_err(&pdev->dev, "snd_soc_register_card() failed:%d\n", ret);
return ret;