ASoC: SOF: ipc4-control: Support for Switch and Enum

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

Currently IPC4 has no notion of a switch or enum type of control which
is a generic concept in ALSA.

The generic support for these control types will be as follows:

- large config is used to send the channel-value par array
- param_id of a SWITCH type is 200
- param_id of an ENUM type is 201

Each module need to support a switch or/and enum must handle these
universal param_ids.  The message payload is described by struct
sof_ipc4_control_msg_payload.
This commit is contained in:
Mark Brown 2023-09-19 18:11:02 +01:00
commit 16bb22098f
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 237 additions and 6 deletions