]>
www.infradead.org Git - users/hch/misc.git/log
Takashi Iwai [Tue, 2 Sep 2025 09:56:35 +0000 (11:56 +0200)]
ALSA: hda/realtek: Use is_s4_resume() macro
Use the given macro for determining the resume state instead of
referring to the raw value.
Only a cleanup for now. The infrastructure might be changed in
future, though.
Link: https://patch.msgid.link/20250902095636.21462-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 29 Aug 2025 15:13:33 +0000 (17:13 +0200)]
ALSA: misc: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-20-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:32 +0000 (17:13 +0200)]
ALSA: virtio: Use guard() for spin locks
Replace the manual spin lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-19-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:31 +0000 (17:13 +0200)]
ALSA: ac97bus: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-18-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:30 +0000 (17:13 +0200)]
ALSA: atmel: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-17-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:29 +0000 (17:13 +0200)]
ALSA: pxa2xx: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-16-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:28 +0000 (17:13 +0200)]
ALSA: aaci: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-15-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:27 +0000 (17:13 +0200)]
ALSA: aoa: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-14-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:26 +0000 (17:13 +0200)]
ALSA: sparc: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-13-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:25 +0000 (17:13 +0200)]
ALSA: vxpocket: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-12-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:24 +0000 (17:13 +0200)]
ALSA: pdaudiocf: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-11-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:23 +0000 (17:13 +0200)]
ALSA: at73c213: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-10-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:22 +0000 (17:13 +0200)]
ALSA: xen: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-9-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:21 +0000 (17:13 +0200)]
ALSA: x86: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-8-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:20 +0000 (17:13 +0200)]
ALSA: x86: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-7-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:19 +0000 (17:13 +0200)]
ALSA: synth: Use guard() for preset locks
Define a macro for the preset locking/unlocking pairs for soundfont
using guard() macro as a further code cleanup.
The new macro is put in soundfont.h (and some function renames) along
with it for avoiding unnecessary troubles with clang.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-6-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:18 +0000 (17:13 +0200)]
ALSA: synth: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-5-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:17 +0000 (17:13 +0200)]
ALSA: synth: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-4-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:16 +0000 (17:13 +0200)]
ALSA: i2c: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-3-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:13:15 +0000 (17:13 +0200)]
ALSA: i2c: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-2-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:07:17 +0000 (17:07 +0200)]
ALSA: caiaq: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150724.6886-10-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:07:16 +0000 (17:07 +0200)]
ALSA:
bcd2000 : Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150724.6886-9-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:07:15 +0000 (17:07 +0200)]
ALSA: usb: qcom: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
The manual mutex lock/unlock are still left in
handle_uaudio_stream_req() and its callee as they have a bit complex
locking patterns.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150724.6886-8-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:07:14 +0000 (17:07 +0200)]
ALSA: line6: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification. The core code of line6_pcm_release() is factored out,
so that it can be covered by guard() nicely, too.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150724.6886-7-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:07:13 +0000 (17:07 +0200)]
ALSA: hiface: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150724.6886-6-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:07:12 +0000 (17:07 +0200)]
ALSA: hiface: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150724.6886-5-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:07:11 +0000 (17:07 +0200)]
ALSA: usx2y: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150724.6886-4-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:07:10 +0000 (17:07 +0200)]
ALSA: ua101: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150724.6886-3-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:07:09 +0000 (17:07 +0200)]
ALSA: ua101: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150724.6886-2-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:24 +0000 (17:00 +0200)]
ALSA: serial-u16550: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-14-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:23 +0000 (17:00 +0200)]
ALSA: portman2x4: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-13-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:22 +0000 (17:00 +0200)]
ALSA: mts64: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-12-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:21 +0000 (17:00 +0200)]
ALSA: mtpav: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-11-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:20 +0000 (17:00 +0200)]
ALSA: mpu401: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-10-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:19 +0000 (17:00 +0200)]
ALSA: dummy: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-9-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:18 +0000 (17:00 +0200)]
ALSA: vx: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-8-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:17 +0000 (17:00 +0200)]
ALSA: opl4: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-7-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:16 +0000 (17:00 +0200)]
ALSA: opl4: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-6-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:15 +0000 (17:00 +0200)]
ALSA: opl3: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-5-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:14 +0000 (17:00 +0200)]
ALSA: opl3: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-4-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:13 +0000 (17:00 +0200)]
ALSA: aloop: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-3-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 15:00:12 +0000 (17:00 +0200)]
ALSA: aloop: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829150026.6379-2-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:58 +0000 (16:52 +0200)]
ALSA: wavefront: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-19-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:57 +0000 (16:52 +0200)]
ALSA: wss: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-18-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:56 +0000 (16:52 +0200)]
ALSA: wss: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-17-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:55 +0000 (16:52 +0200)]
ALSA: sscape: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-16-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:54 +0000 (16:52 +0200)]
ALSA: emu8000: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-15-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:53 +0000 (16:52 +0200)]
ALSA: sb: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-14-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:52 +0000 (16:52 +0200)]
ALSA: sb: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-13-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:51 +0000 (16:52 +0200)]
ALSA: opti9xx: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-12-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:50 +0000 (16:52 +0200)]
ALSA: opl3sa2: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-11-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:49 +0000 (16:52 +0200)]
ALSA: msnd: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-10-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:48 +0000 (16:52 +0200)]
ALSA: gus: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-9-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:47 +0000 (16:52 +0200)]
ALSA: gus: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
As replaced with the guard(mutex), no longer used snd_gf1_mem_lock()
is dropped, too.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-8-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:46 +0000 (16:52 +0200)]
ALSA: es18xx: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-7-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:45 +0000 (16:52 +0200)]
ALSA: es1688: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-6-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:44 +0000 (16:52 +0200)]
ALSA: cs423x: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-5-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:43 +0000 (16:52 +0200)]
ALSA: cs423x: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-4-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:42 +0000 (16:52 +0200)]
ALSA: cmi8330: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-3-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:52:41 +0000 (16:52 +0200)]
ALSA:
ad1816a : Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829145300.5460-2-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:36 +0000 (16:43 +0200)]
ALSA: ymfpci: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-62-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:35 +0000 (16:43 +0200)]
ALSA: vx222: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-61-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:34 +0000 (16:43 +0200)]
ALSA: via82xx: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-60-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:33 +0000 (16:43 +0200)]
ALSA: trident: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-59-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:32 +0000 (16:43 +0200)]
ALSA: trident: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-58-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:31 +0000 (16:43 +0200)]
ALSA: sonicvibes: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-57-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:30 +0000 (16:43 +0200)]
ALSA: sis7019: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-56-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:29 +0000 (16:43 +0200)]
ALSA: sis7019: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-55-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:28 +0000 (16:43 +0200)]
ALSA: rme9652: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-54-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:27 +0000 (16:43 +0200)]
ALSA: hdspm: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-53-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:26 +0000 (16:43 +0200)]
ALSA: hdsp: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-52-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:25 +0000 (16:43 +0200)]
ALSA: rme96: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-51-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:24 +0000 (16:43 +0200)]
ALSA: rme32: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-50-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:23 +0000 (16:43 +0200)]
ALSA: pcxhr: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-49-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:22 +0000 (16:43 +0200)]
ALSA: oxygen: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-48-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:21 +0000 (16:43 +0200)]
ALSA: oxygen: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-47-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:20 +0000 (16:43 +0200)]
ALSA: nm256: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-46-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:19 +0000 (16:43 +0200)]
ALSA: nm256: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-45-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:18 +0000 (16:43 +0200)]
ALSA: mixart: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-44-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:17 +0000 (16:43 +0200)]
ALSA: maestro3: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-43-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:16 +0000 (16:43 +0200)]
ALSA: lx6464es: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-42-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:15 +0000 (16:43 +0200)]
ALSA: lola: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-41-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:14 +0000 (16:43 +0200)]
ALSA: lola: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-40-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:13 +0000 (16:43 +0200)]
ALSA: korg1212: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-39-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:12 +0000 (16:43 +0200)]
ALSA: korg1212: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-38-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:11 +0000 (16:43 +0200)]
ALSA: intel8x0: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-37-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:10 +0000 (16:43 +0200)]
ALSA: ice1712: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-36-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:09 +0000 (16:43 +0200)]
ALSA: ice1712: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-35-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:08 +0000 (16:43 +0200)]
ALSA: fm801: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-34-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:07 +0000 (16:43 +0200)]
ALSA: es1968: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-33-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:06 +0000 (16:43 +0200)]
ALSA: es1968: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-32-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:05 +0000 (16:43 +0200)]
ALSA: es1938: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-31-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:04 +0000 (16:43 +0200)]
ALSA: emu10k1x: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-30-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:03 +0000 (16:43 +0200)]
ALSA: emu10k1: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-29-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:02 +0000 (16:43 +0200)]
ALSA: emu10k1: Use guard() for emu1010 FPGA locking
The snd_emu1010_fpga_lock() and _unlock() call pairs can be simplified
gracefully with the introduction of guard().
Only code refactoring, and no functional changes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-28-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:01 +0000 (16:43 +0200)]
ALSA: emu10k1: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-27-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:43:00 +0000 (16:43 +0200)]
ALSA: echoaudio: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-26-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:42:59 +0000 (16:42 +0200)]
ALSA: echoaudio: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-25-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:42:58 +0000 (16:42 +0200)]
ALSA: ctxfi: Use guard() for spin locks
Clean up the code using guard() for spin locks.
Merely code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-24-tiwai@suse.de
Takashi Iwai [Fri, 29 Aug 2025 14:42:57 +0000 (16:42 +0200)]
ALSA: ctxfi: Use guard() for mutex locks
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.
Only code refactoring, and no behavior change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-23-tiwai@suse.de