mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
sound: soc: msm8952_rt5659: Handle defer while probing
Change-Id: I67926b65799357f4a4b58d52f92bb5c486628c88
This commit is contained in:
parent
dd1da0ce0d
commit
947238c194
1 changed files with 3 additions and 2 deletions
|
@ -3473,8 +3473,9 @@ static int msm8952_rt5659_asoc_machine_probe(struct platform_device *pdev)
|
|||
|
||||
ret = snd_soc_register_card(card);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "snd_soc_register_card failed (%d)\n",
|
||||
ret);
|
||||
if (ret != -EPROBE_DEFER)
|
||||
dev_err(&pdev->dev, "snd_soc_register_card failed (%d)\n",
|
||||
ret);
|
||||
goto err;
|
||||
}
|
||||
dev_info(&pdev->dev, "Sound card %s registered\n", card->name);
|
||||
|
|
Loading…
Reference in a new issue