Page MenuHomeFreeBSD

sound: Move sndstat_register() call to pcm_setstatus()
ClosedPublic

Authored by christos on Oct 28 2024, 10:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 9, 5:00 PM
Unknown Object (File)
Fri, Oct 9, 4:23 PM
Unknown Object (File)
Fri, Oct 9, 4:08 PM
Unknown Object (File)
Mon, Oct 5, 10:23 AM
Unknown Object (File)
Sun, Oct 4, 10:26 AM
Unknown Object (File)
Thu, Oct 1, 6:40 PM
Unknown Object (File)
Thu, Oct 1, 6:22 PM
Unknown Object (File)
Tue, Sep 29, 5:09 AM
Subscribers

Details

Summary

The d->status string is populated in pcm_setstatus() anyway, so call
sndstat_register() after we populate it, and are closer to finalizing
the device creation.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60232
Build 57116: arc lint + arc unit