HomeFreeBSD

sound: Move sndstat_register() call to pcm_setstatus()

Description

sound: Move sndstat_register() call to pcm_setstatus()

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
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D47323

Details

Provenance
christosAuthored on Nov 3 2024, 7:02 PM
Reviewer
dev_submerge.ch
Differential Revision
D47323: sound: Move sndstat_register() call to pcm_setstatus()
Parents
rG66f3eb14e955: sound: Move sysctl and /dev/dspX creation to pcm_setstatus()
Branches
Unknown
Tags
Unknown