[alsa-devel] [PATCH 1/2] topology: Fix missing return value for snd_tplg_set_manifest_data()

mengdong.lin at intel.com mengdong.lin at intel.com
Thu Aug 13 10:34:54 CEST 2015


From: Mengdong Lin <mengdong.lin at intel.com>

Signed-off-by: Mengdong Lin <mengdong.lin at intel.com>

diff --git a/src/topology/parser.c b/src/topology/parser.c
index ca7de06..7ca244c 100644
--- a/src/topology/parser.c
+++ b/src/topology/parser.c
@@ -358,6 +358,8 @@ int snd_tplg_set_manifest_data(snd_tplg_t *tplg, const void *data, int len)
 {
 	tplg->manifest.priv.size = len;
 	tplg->manifest_pdata = data;
+
+	return 0;
 }
 
 void snd_tplg_verbose(snd_tplg_t *tplg, int verbose)
-- 
1.9.1



More information about the Alsa-devel mailing list