Skip to content

Remove variable-length arrays for DMIC params #1801

@plbossart

Description

@plbossart

There is no reason why we should have a variable-length array in the struct sof_ipc_dai_dmic_params structure. And this results in DMIC-specific code at the lowest level of our topology-parsing routines.

We should instead reserve data for the worst-case, e.g. define how many PDM controller configurations are reasonable. the firmware can still use the 'num_pdm_active' field to know how many of the array elements are valid.

Metadata

Metadata

Labels

ABIinvolves ABI changes, need extra attentionenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions