Hi, Mark
I resend the patch and add recipient Vinod as your comment. Thank you.
I'd like to send a patch to fix a problem using soc-compress with DPCM. soc_compr_open_fe() and soc_compr_free_fe() call snd_soc_runtime_activate() and snd_soc_runtime_deactivate() but don't lock card->pcm_mutex. It can cause lockdep error, because snd_soc_runtime_activate/deactivate() checks whether pcm_mutex is held using lockdep_assert_held(). I'd like to send a patch which adds mutex_lock/unlock() before and after of the snd_soc_runtime_activate/deactivate() call. If there is anything should be changed in my patch or email, please let me know it. I'll really appreciate it.
Lee
Gyeongtaek Lee (1): ASoC: soc-compress: lock pcm_mutex to resolve lockdep error
sound/soc/soc-compress.c | 4 ++++ 1 file changed, 4 insertions(+)
base-commit: 76ccd234269bd05debdbc12c96eafe62dd9a6180 -- 2.21.0