HomeFreeBSD

sound: Retire snd_midi->qlock

Description

sound: Retire snd_midi->qlock

snd_midi->qlock is used to protect snd_midi->{in,out}q. However, apart
from the numerous LORs present already in the code, there is no reason
not to use snd_midi->lock, as we do for the rest of the structure

Started by: https://github.com/freebsd/freebsd-src/pull/1902
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: dev_nicolas-provost.fr
Differential Revision: https://reviews.freebsd.org/D54129

Details

Provenance
christosAuthored on Jan 2 2026, 4:56 PM
Reviewer
dev_nicolas-provost.fr
Differential Revision
D54129: sound: Retire snd_midi->qlock
Parents
rGe963472ef853: snd_dummy: Initial MIDI support
Branches
Unknown
Tags
Unknown