]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: lock client_mutex while removing link components
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Thu, 23 May 2019 17:12:01 +0000 (10:12 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 24 May 2019 12:10:46 +0000 (13:10 +0100)
commit142e488eae8b8d34992279c6d7eccb04174acfb3
treef850e4fb8ecf9fd7652c67c1ac06eacf567c98b9
parent76c844f778ea5adfadb410ad36bcd0b2ef513bd9
ASoC: core: lock client_mutex while removing link components

Removing link components results in topology unloading. So,
acquire the client_mutex before removing components in
soc_remove_link_components. This will prevent the lockdep warning
seen when dai links are removed during topology removal.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c