summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-08-02 16:03:36 +0100
committerMark Brown <broonie@kernel.org>2018-08-02 17:19:39 +0100
commit1eb576881ff884dd6d10272b96cc336d156492c2 (patch)
tree432a5a8e43a1d6b8f3b3300fe25239c9a34c066c
parentfdec79c18b08c68cfa079f2d3ee23c5a120a2eda (diff)
ASoC: apq8096: 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>
-rw-r--r--sound/soc/qcom/apq8096.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c
index 1e4a90d59228..6ee7e66cbaaa 100644
--- a/sound/soc/qcom/apq8096.c
+++ b/sound/soc/qcom/apq8096.c
@@ -48,7 +48,6 @@ static int apq8096_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) {
@@ -74,7 +73,6 @@ static int apq8096_platform_remove(struct platform_device *pdev)
{
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);