summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-08-27 11:05:16 +0300
committerTakashi Iwai <tiwai@suse.de>2025-08-29 12:52:36 +0300
commit80ccbe91adab52a2b9a0e8b31663d4ec2a914a77 (patch)
treefbe604a4eb21c06d20baa274605aba31de6d04d4 /include
parent895a46e034f9aa11779c66f0bb41c51f50b265ef (diff)
downloadlinux-80ccbe91adab52a2b9a0e8b31663d4ec2a914a77.tar.xz
ALSA: seq: oss/synth: Clean up with guard and auto cleanup
Use the auto-cleanup for the refcount management of seq_oss_synth object. The explicit call of snd_use_lock_free() is dropped by the magic __free(seq_oss_synth) attribute. Along with that, replace the manual mutex and spin locks with guard(). Only code refactoring, and no behavior change. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250827080520.7544-11-tiwai@suse.de
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions