Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: core: Fix deadlock in snd_soc_instantiate_card()
Move the client_mutex lock to snd_soc_unbind_card() before removing link components. This prevents the deadlock in the error path in snd_soc_instantiate_card(). Fixes: 34ac3c3 (ASoC: core: lock client_mutex while removing link components) Reported-by: kernelci.org bot <[email protected]> Signed-off-by: Ranjani Sridharan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
- Loading branch information