Merge "ASoC: msmcobalt: fix wrong platform device pointer assignment"
This commit is contained in:
commit
d7a4057219
1 changed files with 1 additions and 2 deletions
|
@ -3971,8 +3971,6 @@ static int msm_asoc_machine_probe(struct platform_device *pdev)
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
spdev = pdev;
|
|
||||||
|
|
||||||
ret = msm_populate_dai_link_component_of_node(card);
|
ret = msm_populate_dai_link_component_of_node(card);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
ret = -EPROBE_DEFER;
|
ret = -EPROBE_DEFER;
|
||||||
|
@ -4010,6 +4008,7 @@ static int msm_asoc_machine_probe(struct platform_device *pdev)
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
dev_info(&pdev->dev, "Sound card %s registered\n", card->name);
|
dev_info(&pdev->dev, "Sound card %s registered\n", card->name);
|
||||||
|
spdev = pdev;
|
||||||
|
|
||||||
ret = of_property_read_string(pdev->dev.of_node,
|
ret = of_property_read_string(pdev->dev.of_node,
|
||||||
"qcom,mbhc-audio-jack-type", &mbhc_audio_jack_type);
|
"qcom,mbhc-audio-jack-type", &mbhc_audio_jack_type);
|
||||||
|
|
Loading…
Add table
Reference in a new issue