sound: soc: msm8952_rt5659: Handle defer while probing

Change-Id: I67926b65799357f4a4b58d52f92bb5c486628c88
This commit is contained in:
syphyr 2018-02-06 04:26:15 +01:00
parent dd1da0ce0d
commit 947238c194

View file

@ -3473,6 +3473,7 @@ static int msm8952_rt5659_asoc_machine_probe(struct platform_device *pdev)
ret = snd_soc_register_card(card);
if (ret) {
if (ret != -EPROBE_DEFER)
dev_err(&pdev->dev, "snd_soc_register_card failed (%d)\n",
ret);
goto err;