OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1bb023
)
ASoC: SOF: ext_manifest: use explicit number for elem_type
author
Fred Oh
<fred.oh@linux.intel.com>
Mon, 8 Feb 2021 23:21:49 +0000
(17:21 -0600)
committer
Mark Brown
<broonie@kernel.org>
Wed, 10 Feb 2021 17:17:13 +0000
(17:17 +0000)
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>
include/sound/sof/ext_manifest.h
patch
|
blob
|
history
diff --git
a/include/sound/sof/ext_manifest.h
b/include/sound/sof/ext_manifest.h
index
7abc4f0
..
2a7e055
100644
(file)
--- a/
include/sound/sof/ext_manifest.h
+++ b/
include/sound/sof/ext_manifest.h
@@
-58,9
+58,9
@@
struct sof_ext_man_header {
/* Extended manifest elements types */
enum sof_ext_man_elem_type {
SOF_EXT_MAN_ELEM_FW_VERSION = 0,
- SOF_EXT_MAN_ELEM_WINDOW =
SOF_IPC_EXT_WINDOW
,
- SOF_EXT_MAN_ELEM_CC_VERSION =
SOF_IPC_EXT_CC_INFO
,
- SOF_EXT_MAN_ELEM_DBG_ABI =
SOF_IPC_EXT_USER_ABI_INFO
,
+ SOF_EXT_MAN_ELEM_WINDOW =
1
,
+ SOF_EXT_MAN_ELEM_CC_VERSION =
2
,
+ SOF_EXT_MAN_ELEM_DBG_ABI =
4
,
SOF_EXT_MAN_ELEM_CONFIG_DATA = 5, /**< ABI3.17 */
SOF_EXT_MAN_ELEM_PLATFORM_CONFIG_DATA = 6,
};