HomeFreeBSD

sound: Use DSP_REGISTERED in dsp_clone()

Description

sound: Use DSP_REGISTERED in dsp_clone()

DSP_REGISTERED calls PCM_REGISTERED, and already contains all the checks
we are doing.

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D47196

Details

Provenance
christosAuthored on Thu, Oct 24, 11:37 AM
Reviewer
dev_submerge.ch
Differential Revision
D47196: sound: Use DSP_REGISTERED in dsp_clone()
Parents
rG9693241188aa: sound: Call DSP_REGISTERED before PCM_DETACHING
Branches
Unknown
Tags
Unknown