Commit b5e175e1 authored by Takashi Iwai's avatar Takashi Iwai Committed by Greg Kroah-Hartman
Browse files

ALSA: ump: Use guard() for locking



[ Upstream commit 631896f7 ]

We can simplify the code gracefully with new guard() macro and co for
automatic cleanup of locks.

Only the code refactoring, and no functional changes.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240227085306.9764-2-tiwai@suse.de


Stable-dep-of: 3978d53d ("ALSA: ump: Don't open legacy substream for an inactive group")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b41d7305
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment