commit | 650224fe8d5f6dbe6cc5875d14bf80da60dd56f8 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Feb 27 09:53:04 2024 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Feb 28 15:01:22 2024 +0100 |
tree | 99d4c2bc6a2272b89e8fc77b92200faf37c27f01 | |
parent | dd0da75b9a2768710366a599c9bd70058e67e2ea [diff] |
ALSA: pcm: Use guard() for PCM stream locks Define guard() usage for PCM stream locking and use it in appropriate places. The pair of snd_pcm_stream_lock() and snd_pcm_stream_unlock() can be presented with guard(pcm_stream_lock) now. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20240227085306.9764-23-tiwai@suse.de