Re: [PATCH AUTOSEL 5.1 08/51] ASoC: core: lock client_mutex while removing link components

From: Sasha Levin
Date: Wed Jun 26 2019 - 20:25:03 EST


On Wed, Jun 26, 2019 at 11:37:01AM +0100, Mark Brown wrote:
On Tue, Jun 25, 2019 at 11:40:24PM -0400, Sasha Levin wrote:
From: Ranjani Sridharan <ranjani.sridharan@xxxxxxxxxxxxxxx>

[ Upstream commit 34ac3c3eb8f0c07252ceddf0a22dd240e5c91ccb ]

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.

There's additional fixes for this IIRC.

The fix is part of this branch, you commented on it as well.

--
Thanks,
Sasha