diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-09-19 13:42:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-19 15:49:05 +0300 |
commit | 6974f2cd2fa94fef663133af23722cf607853e22 (patch) | |
tree | 67c966399987e824c0e09aa4c01d2cec2a7135fa /include | |
parent | 88e20c1f8c1c0018a2dad50b991b87ef028b9c1c (diff) | |
download | linux-6974f2cd2fa94fef663133af23722cf607853e22.tar.xz |
ASoC: SOF: Introduce generic names for IPC types
Change the enum names for the IPC types to be more descriptive and drop
tying the IPC4 to Intel SoCs.
Add defines to avoid build breakage while the related code is
modified to use the new enum names.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230919104226.32239-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/sof.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/sound/sof.h b/include/sound/sof.h index 51294f2ba302..31121c6df027 100644 --- a/include/sound/sof.h +++ b/include/sound/sof.h @@ -52,11 +52,14 @@ enum sof_dsp_power_states { /* Definitions for multiple IPCs */ enum sof_ipc_type { - SOF_IPC, - SOF_INTEL_IPC4, + SOF_IPC_TYPE_3, + SOF_IPC_TYPE_4, SOF_IPC_TYPE_COUNT }; +#define SOF_IPC SOF_IPC_TYPE_3 +#define SOF_INTEL_IPC4 SOF_IPC_TYPE_4 + /* * SOF Platform data. */ |