]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: seq: Simplify internal command operation from OSS layer
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 08:05:07 +0000 (10:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:35 +0000 (11:52 +0200)
commitdf2e8107f037a87459ffc0eadb0b19e2611913f9
tree4799438f7b0fb59391525b3e6106f0633161f4e2
parentcb8fc4337c7e9e8c3431d51c107f32fffd6f2318
ALSA: seq: Simplify internal command operation from OSS layer

snd_seq_client_ioctl_lock() and *_unlock() are used only from a single
function of the OSS layer, and it's just to wrap the call of
snd_seq_kernel_client_ctl().

Provide another variant of snd_seq_kernel_client_ctl() that takes the
locks internally and drop the ugly snd_seq_client_ioctl_lock() and
*_unlock() implementations, instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250827080520.7544-2-tiwai@suse.de
sound/core/seq/oss/seq_oss_device.h
sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_clientmgr.h