diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-08-02 18:03:37 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-02 19:19:43 +0300 |
commit | 62121debfb31a8700e387bd2987779b3a98bc520 (patch) | |
tree | f9dad25ecc7858b569219bfe0c907bf7b56caa2d /sound/soc/qcom | |
parent | 1eb576881ff884dd6d10272b96cc336d156492c2 (diff) | |
download | linux-62121debfb31a8700e387bd2987779b3a98bc520.tar.xz |
ASoC: smd845: remove auto rebinding
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>
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r-- | sound/soc/qcom/sdm845.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index bf4ec4646906..be0cb1122036 100644 --- a/sound/soc/qcom/sdm845.c +++ b/sound/soc/qcom/sdm845.c @@ -226,7 +226,6 @@ static int sdm845_snd_platform_probe(struct platform_device *pdev) return -ENOMEM; card->dev = dev; - card->auto_bind = true; dev_set_drvdata(dev, card); ret = qcom_snd_parse_of(card); if (ret) { @@ -258,7 +257,6 @@ static int sdm845_snd_platform_remove(struct platform_device *pdev) struct snd_soc_card *card = dev_get_drvdata(&pdev->dev); struct sdm845_snd_data *data = snd_soc_card_get_drvdata(card); - card->auto_bind = false; snd_soc_unregister_card(card); kfree(card->dai_link); kfree(data); |