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

Details

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