diff options
| author | Takashi Iwai <tiwai@suse.de> | 2025-08-27 11:05:15 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-08-29 12:52:36 +0300 |
| commit | 895a46e034f9aa11779c66f0bb41c51f50b265ef (patch) | |
| tree | b4d9e3a1b307ea03f3acea5ed8908bb331bd1ca9 /include | |
| parent | 1291fc664d2320af332e0f6b3c28a1a4e125fee9 (diff) | |
| download | linux-895a46e034f9aa11779c66f0bb41c51f50b265ef.tar.xz | |
ALSA: seq: oss/midi: Cleanup with guard and auto-cleanup
Use the auto-cleanup for the refcount management of seq_oss_midi
object. The explicit call of snd_use_lock_free() is dropped by the
magic __free(seq_oss_midi) 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-10-tiwai@suse.de
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
