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

(cherry picked from commit 2d6fc24673ccc97020c94094f97ee015f1db9702)

Details

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