diff options
| author | Cássio Gabriel <cassiogabrielcontato@gmail.com> | 2026-06-04 01:48:14 -0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-06-04 10:20:41 +0200 |
| commit | 64917f839d373df2573eb47f271df98f1daef7fa (patch) | |
| tree | b312aacfbb4db86dfd4a957f26701b2d0067dc62 /include/linux/timerqueue.h | |
| parent | c6c6f0aec6fb4cbcc547bb265315fd76f18be731 (diff) | |
ALSA: seq: oss: Use scoped cleanup for temporary MIDI use lock
The OSS sequencer write and out-of-band paths may receive a temporary
snd_use_lock_t reference from snd_seq_oss_process_event(). This was added
to keep MIDI device data alive until events with embedded SysEx data are
dispatched.
Use a scoped cleanup helper for that temporary reference. This keeps the
lifetime rule local to the variable declaration and avoids future missing
snd_use_lock_free() paths if these event handling paths gain more exits.
No functional change is intended.
Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260604-alsa-scoped-cleanups-v1-3-10c43152a728@gmail.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
