Re: [PATCH 2/2] ALSA: pcm: fix snd_pcm_link() lockdep splat

2020-06-08 Thread Takashi Iwai
On Mon, 08 Jun 2020 12:06:32 +0200, Michał Mirosław wrote: > > Add and use snd_pcm_stream_lock_nested() in snd_pcm_link/unlink > implementation. The code is fine, but generates a lockdep complaint: > > > WARNING: possible recursive locking detected >

[PATCH 2/2] ALSA: pcm: fix snd_pcm_link() lockdep splat

2020-06-08 Thread Michał Mirosław
Add and use snd_pcm_stream_lock_nested() in snd_pcm_link/unlink implementation. The code is fine, but generates a lockdep complaint: WARNING: possible recursive locking detected 5.7.1mq+ #381 Tainted: G O -