summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMousumi Jana <mousumix.jana@intel.com>2017-04-11 13:06:22 +0530
committerMark Brown <broonie@kernel.org>2017-04-11 19:35:28 +0100
commitb6e38b2944f1153199becefb14ae3ee01778863e (patch)
treec1902f6ce0a1773bfebeb975b65e0b9e27d30c87 /sound
parenta5de5b74a50113564a1e0850e2da96c37c35e55d (diff)
downloadlinux-b6e38b2944f1153199becefb14ae3ee01778863e.tar.gz
linux-b6e38b2944f1153199becefb14ae3ee01778863e.tar.bz2
linux-b6e38b2944f1153199becefb14ae3ee01778863e.zip
ASoC: topology: Fix to store enum text values
Add missing enum texts store in soc_enum. Signed-off-by: Mousumi Jana <mousumix.jana@intel.com> Signed-off-by: Pardha Saradhi K <pardha.saradhi.kesapragada@intel.com> Signed-off-by: Kranthikumar, GudishaX <gudishax.kranthikumar@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-topology.c1
1 files changed, 1 insertions, 0 deletions
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: