Remove auto rebinding support, as component framework can deadlock
in few usecases if we are trying to add new/remove component within
a bind/unbind callbacks.
Card rebinding is ASoC core feature so all the previous component
framework stuff in q6dsp remains removed.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
return -ENOMEM;
card->dev = dev;
- card->auto_bind = true;
dev_set_drvdata(dev, card);
ret = qcom_snd_parse_of(card);
if (ret) {
{
struct snd_soc_card *card = dev_get_drvdata(&pdev->dev);
- card->auto_bind = false;
snd_soc_unregister_card(card);
kfree(card->dai_link);
kfree(card);