Merge "ASoC: msmcobalt: fix wrong platform device pointer assignment"

This commit is contained in:
Linux Build Service Account 2016-08-13 04:51:49 -07:00 committed by Gerrit - the friendly Code Review server
commit d7a4057219

View file

@ -3971,8 +3971,6 @@ static int msm_asoc_machine_probe(struct platform_device *pdev)
goto err;
}
spdev = pdev;
ret = msm_populate_dai_link_component_of_node(card);
if (ret) {
ret = -EPROBE_DEFER;
@ -4010,6 +4008,7 @@ static int msm_asoc_machine_probe(struct platform_device *pdev)
goto err;
}
dev_info(&pdev->dev, "Sound card %s registered\n", card->name);
spdev = pdev;
ret = of_property_read_string(pdev->dev.of_node,
"qcom,mbhc-audio-jack-type", &mbhc_audio_jack_type);