OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0acd51
)
topology: Set manifest size for ABI
author
Mengdong Lin
<mengdong.lin@linux.intel.com>
Fri, 29 Apr 2016 03:02:57 +0000
(11:02 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 9 May 2016 08:30:38 +0000
(10:30 +0200)
The topology kernel driver will check the size of manifest struct, and
will stop loading topology info if size mismatch is detected.
Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/topology/parser.c
patch
|
blob
|
history
diff --git
a/src/topology/parser.c
b/src/topology/parser.c
index
30d91f9
..
84117c3
100644
(file)
--- a/
src/topology/parser.c
+++ b/
src/topology/parser.c
@@
-414,6
+414,8
@@
snd_tplg_t *snd_tplg_new(void)
if (!tplg)
return NULL;
+ tplg->manifest.size = sizeof(struct snd_soc_tplg_manifest);
+
INIT_LIST_HEAD(&tplg->tlv_list);
INIT_LIST_HEAD(&tplg->widget_list);
INIT_LIST_HEAD(&tplg->pcm_list);