Commit 6974f2cd authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

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: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230919104226.32239-2-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 88e20c1f
...@@ -52,11 +52,14 @@ enum sof_dsp_power_states { ...@@ -52,11 +52,14 @@ enum sof_dsp_power_states {
/* Definitions for multiple IPCs */ /* Definitions for multiple IPCs */
enum sof_ipc_type { enum sof_ipc_type {
SOF_IPC, SOF_IPC_TYPE_3,
SOF_INTEL_IPC4, SOF_IPC_TYPE_4,
SOF_IPC_TYPE_COUNT SOF_IPC_TYPE_COUNT
}; };
#define SOF_IPC SOF_IPC_TYPE_3
#define SOF_INTEL_IPC4 SOF_IPC_TYPE_4
/* /*
* SOF Platform data. * SOF Platform data.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment