[alsa-devel] [PATCH] ASoC: topology: Fix to store enum text values

Subhransu S. Prusty subhransu.s.prusty at intel.com
Tue Apr 11 09:36:22 CEST 2017


From: Mousumi Jana <mousumix.jana at intel.com>

Add missing enum texts store in soc_enum.

Signed-off-by: Mousumi Jana <mousumix.jana at intel.com>
Signed-off-by: Pardha Saradhi K <pardha.saradhi.kesapragada at intel.com>
Signed-off-by: Kranthikumar, GudishaX <gudishax.kranthikumar at intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty at intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 sound/soc/soc-topology.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index 3e9b1c0bb1ce..058bc99c6c34 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -933,6 +933,7 @@ static int soc_tplg_denum_create_texts(struct soc_enum *se,
 		}
 	}
 
+	se->texts = (const char * const *)se->dobj.control.dtexts;
 	return 0;
 
 err:
-- 
1.9.1



More information about the Alsa-devel mailing list