diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-09-19 13:31:13 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-19 13:48:55 +0100 |
commit | 060a07cd9bc69eba2da33ed96b1fa69ead60bab1 (patch) | |
tree | 2357e449e83d8b608f7e5f31eeb98a760a80dda1 /lib/bug.c | |
parent | 88e20c1f8c1c0018a2dad50b991b87ef028b9c1c (diff) |
ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control
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.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230919103115.30783-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions