[alsa-devel] [PATCH] topology: ABI: Increase SND_SOC_TPLG_NUM_TEXTS to 32

Puneeth Prabhu puneethx.prabhu at intel.com
Fri Jul 20 12:27:07 CEST 2018


Topology supports upto 32 configs for a path whereas
alsatplg can parse a maximum of 16 configs of a path
from the topology conf file.
So, increase SND_SOC_TPLG_NUM_TEXTS to 32 to support
parsing upto 32 configs of a path.

Signed-off-by: Puneeth Prabhu <puneethx.prabhu at intel.com>
Signed-off-by: Pardha Saradhi K <pardha.saradhi.kesapragada at intel.com>
---
 include/sound/asoc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sound/asoc.h b/include/sound/asoc.h
index bb8aec7..eb61483 100644
--- a/include/sound/asoc.h
+++ b/include/sound/asoc.h
@@ -84,7 +84,7 @@
 #define SND_SOC_TPLG_MAGIC		0x41536F43 /* ASoC */
 
 /* string sizes */
-#define SND_SOC_TPLG_NUM_TEXTS		16
+#define SND_SOC_TPLG_NUM_TEXTS		32
 
 /* ABI version */
 #define SND_SOC_TPLG_ABI_VERSION	0x5	/* current version */
-- 
2.1.4



More information about the Alsa-devel mailing list