Re: [PATCH v2 3/9] ASoC: audio-graph: Identify 'no_pcm' DAI links for DPCM
From: Sameer Pujar
Date: Tue Aug 25 2020 - 01:16:05 EST
Hi Morimoto-san,
(snip)
I tried testing this with LOCKDEP config enabled at my end.
It seems I don't see warning originated from above function.
Are you suggesting that, in general, snd_soc_find_dai()
should be called with client_mutex held?
Hmm ? strange...
Yes indeed. For saftely I will follow the same as other callers are doing.
...
Yes, I'm posting fixup patch.
https://patchwork.kernel.org/patch/11719919/
Just curious that why snd_soc_find_dai() itself cannot be protected,
instead of leaving this to callers.
Thanks,
Sameer.