]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: remove support for card rebind using component framework
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 2 Aug 2018 15:03:38 +0000 (16:03 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 2 Aug 2018 16:19:46 +0000 (17:19 +0100)
commit52fbddcee90580bc277d24fad40abefa20840300
treeece807cc68c4b00263802eae71480fa91c281630
parent04f9fa9931fc98ef5f0c1a40f333425426945ba0
ASoC: core: remove support for card rebind using component framework

DRM based audio components get registered inside the component framework
bind callback. However component framework has a big mutex lock taken for
every call to component_add, component_del and bind, unbind callbacks.

This can lead to deadlock situation if we are trying to add new/remove
component within a bind/unbind callbacks. Which is what was happening
with bcm2837 rpi 3.

Revert this change till we sort out the mutex issue.

Reported-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Reported-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c