Skip to content
Commit b3ef003f authored by Maxime Ripard's avatar Maxime Ripard Committed by Phil Elwell
Browse files

snd: iec958: split status creation and fill



In some situations, like a codec probe, we need to provide an IEC status
default but don't have access to the sampling rate and width yet since
no stream has been configured yet.

Each and every driver has its own default, whereas the core iec958 code
also has some buried in the snd_pcm_create_iec958_consumer functions.

Let's split these functions in two to provide a default that doesn't
rely on the sampling rate and width, and another function to fill them
when available.

Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 4791757a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment