From: Mark Brown Date: Tue, 19 Sep 2023 17:11:02 +0000 (+0100) Subject: ASoC: SOF: ipc4-control: Support for Switch and Enum X-Git-Tag: v6.7-rc1~103^2~2^2~29^2~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16bb22098f0a44fed8192c4b16fede95876fdc19;p=thirdparty%2Fkernel%2Flinux.git ASoC: SOF: ipc4-control: Support for Switch and Enum Merge series from Peter Ujfalusi : 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. --- 16bb22098f0a44fed8192c4b16fede95876fdc19