HomeFreeBSD

sound: Make DSP_FIXUP_ERROR() regular code

Description

sound: Make DSP_FIXUP_ERROR() regular code

No reason to have this as a macro.

While here, change the second case to an "else if" as there is no reason
to check it if the open flags are invalid.

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

(cherry picked from commit adc1713fb13f89a6eb33f5de840c981d0e17e4b7)

Details

Provenance
christosAuthored on Jul 6 2024, 6:22 PM
Reviewer
dev_submerge.ch
Differential Revision
D45776: sound: Make DSP_FIXUP_ERROR() regular code
Parents
rG6378079427be: sound: Improve simplex handling in dsp_open()
Branches
Unknown
Tags
Unknown