Commit e31a3273 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

pcm: Disable locking in async mode



When PCM is operated in async mode and an async handler calls some PCM
functions with lock during other PCM operations, we may hit a
deadlock.

Although async mode is rarely used, it's still a possible use case.
Disable the locking when the stream is opened in async mode or it's
set to async mode via snd_pcm_async().

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b5a2c06f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment