OSDN Git Service

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)
commit611cbc8799b672f41b6ba7afed758ad9efb959a7
treeece807cc68c4b00263802eae71480fa91c281630
parent62121debfb31a8700e387bd2987779b3a98bc520
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