HomeFreeBSD

sound: Bail out early if a format is not supported

Description

sound: Bail out early if a format is not supported

If a format is unsupported, the feeder_build_* functions will fail
anyway, so bail out early to avoid unnecessary computation.

This is also needed by a series of upcoming patches to the feeder
framework.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D48031

(cherry picked from commit 18457e7e25c55b8834e886fd925ec3b11b79d1b6)

Details

Provenance
christosAuthored on Tue, Feb 18, 7:36 PM
Differential Revision
D48031: sound: Bail out early if a format is not supported
Parents
rG1be7ae1a79a7: snd_hda: Define ALC898
Branches
Unknown
Tags
Unknown