Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: SOF: ext_manifest: use explicit number for elem_type

Use explicit number to define elem_type enum instead of using
SOF_IPC_EXT_*.

Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Karol Trzciński <karolx.trzcinski@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210208232149.58899-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Fred Oh and committed by
Mark Brown
cc11626d f1bb0235

+3 -3
+3 -3
include/sound/sof/ext_manifest.h
··· 58 58 /* Extended manifest elements types */ 59 59 enum sof_ext_man_elem_type { 60 60 SOF_EXT_MAN_ELEM_FW_VERSION = 0, 61 - SOF_EXT_MAN_ELEM_WINDOW = SOF_IPC_EXT_WINDOW, 62 - SOF_EXT_MAN_ELEM_CC_VERSION = SOF_IPC_EXT_CC_INFO, 63 - SOF_EXT_MAN_ELEM_DBG_ABI = SOF_IPC_EXT_USER_ABI_INFO, 61 + SOF_EXT_MAN_ELEM_WINDOW = 1, 62 + SOF_EXT_MAN_ELEM_CC_VERSION = 2, 63 + SOF_EXT_MAN_ELEM_DBG_ABI = 4, 64 64 SOF_EXT_MAN_ELEM_CONFIG_DATA = 5, /**< ABI3.17 */ 65 65 SOF_EXT_MAN_ELEM_PLATFORM_CONFIG_DATA = 6, 66 66 };