From: Mousumi Jana Date: Tue, 11 Apr 2017 07:36:22 +0000 (+0530) Subject: ASoC: topology: Fix to store enum text values X-Git-Tag: Ubuntu-4.11.0-3.8~373^2^2^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=b6e38b2944f1153199becefb14ae3ee01778863e;p=mirror_ubuntu-artful-kernel.git ASoC: topology: Fix to store enum text values Add missing enum texts store in soc_enum. Signed-off-by: Mousumi Jana Signed-off-by: Pardha Saradhi K Signed-off-by: Kranthikumar, GudishaX Signed-off-by: Subhransu S. Prusty Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index 65670b2b408c..8e3df8ba9b68 100644 --- a/sound/soc/soc-topology.c +++ b/sound/soc/soc-topology.c @@ -934,6 +934,7 @@ static int soc_tplg_denum_create_texts(struct soc_enum *se, } } + se->texts = (const char * const *)se->dobj.control.dtexts; return 0; err: