Takashi Iwai
eff259d5b9
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
2025-09-01 13:54:26 +02:00
Takashi Iwai
cc8c535320
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
2025-09-01 13:54:26 +02:00
Takashi Iwai
7a3dc0da93
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
2025-09-01 13:54:26 +02:00
Takashi Iwai
95692e3c9f
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
2025-09-01 13:54:06 +02:00
Takashi Iwai
cff7acfe0b
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
2025-09-01 13:54:06 +02:00
Takashi Iwai
e5d3eeb426
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
2025-09-01 13:54:06 +02:00
Takashi Iwai
6dcbb0a9a6
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
2025-09-01 13:54:06 +02:00
Takashi Iwai
ea3bfbbc9a
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
2025-09-01 13:54:06 +02:00
Takashi Iwai
07f55c77b9
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
2025-09-01 13:54:06 +02:00
Takashi Iwai
9e38c362a6
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
2025-09-01 13:54:05 +02:00
Takashi Iwai
f9435abeb3
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
2025-09-01 13:54:05 +02:00
Takashi Iwai
9b99749f2a
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
2025-09-01 13:54:05 +02:00
Takashi Iwai
b9526bff42
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
2025-09-01 13:53:35 +02:00
Takashi Iwai
ec339e149e
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
2025-09-01 13:53:35 +02:00
Takashi Iwai
a28d65886b
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
2025-09-01 13:53:35 +02:00
Takashi Iwai
316e0074ec
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
2025-09-01 13:53:35 +02:00
Takashi Iwai
55c52cd311
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
2025-09-01 13:53:34 +02:00
Takashi Iwai
638c33ef79
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
2025-09-01 13:53:34 +02:00
Takashi Iwai
353fc3e381
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
2025-09-01 13:53:34 +02:00
Takashi Iwai
72a3017077
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
2025-09-01 13:53:34 +02:00
Takashi Iwai
45451eb5d1
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
2025-09-01 13:53:34 +02:00
Takashi Iwai
ec6ac1d5e1
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
2025-09-01 13:53:34 +02:00
Takashi Iwai
6a6da5ca97
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
2025-09-01 13:53:34 +02:00
Takashi Iwai
1ef2cb6b29
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
2025-09-01 13:53:34 +02:00
Takashi Iwai
ebd9b6c91d
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
2025-09-01 13:53:33 +02:00
Takashi Iwai
4b97f8e614
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
2025-09-01 13:53:03 +02:00
Takashi Iwai
ec4c3dcf15
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
2025-09-01 13:53:03 +02:00
Takashi Iwai
372b43467a
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
79112d6527
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
7b4ac26689
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
5487fb09fa
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
d994b2ba8f
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
949ffce4af
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
1e012ff2fb
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
6aaf6dadd9
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
ae2b22b467
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
3abb538fff
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
2025-09-01 13:53:02 +02:00
Takashi Iwai
98ea9c6a06
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
2025-09-01 13:53:01 +02:00
Takashi Iwai
e5a5ad81c8
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
2025-09-01 13:53:01 +02:00
Takashi Iwai
6f5d556a80
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
2025-09-01 13:53:01 +02:00
Takashi Iwai
14ba220697
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
2025-09-01 13:53:01 +02:00
Takashi Iwai
ca1d5ca2e5
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
2025-09-01 13:53:01 +02:00
Takashi Iwai
8c6a0bc917
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
2025-09-01 13:53:01 +02:00
Takashi Iwai
8c0cb47e26
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
2025-09-01 13:52:43 +02:00
Takashi Iwai
dde5decc43
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
2025-09-01 13:52:43 +02:00
Takashi Iwai
9d60b94f13
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
2025-09-01 13:52:43 +02:00
Takashi Iwai
62d8070db6
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
2025-09-01 13:52:43 +02:00
Takashi Iwai
4f83e1da6e
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
2025-09-01 13:52:43 +02:00
Takashi Iwai
fa670cbaee
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
2025-09-01 13:52:42 +02:00
Takashi Iwai
8e11f94ea1
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
2025-09-01 13:52:42 +02:00