HomeFreeBSD

sound: Handle midistat_lock through function interface

Description

sound: Handle midistat_lock through function interface

midistat_lock is used outside midi/midi.c as well, so implement lock,
unlock and lockassert functions in order not to expose the lock in the
header file.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D45857

Details

Provenance
christosAuthored on Jul 6 2024, 6:22 PM
Reviewer
emaste
Differential Revision
D45857: sound: Handle midistat_lock through function interface
Parents
rGa9f08df3e900: sound: Remove dead code in pcm_register()
Branches
Unknown
Tags
Unknown