From ead2ce43367fc519d894a05dfc3d856b7c273da4 Mon Sep 17 00:00:00 2001 From: Vlad Karpovich Date: Wed, 6 Jun 2018 16:51:50 -0500 Subject: [PATCH] ASoC: cs35l41: Set DSP FW name suffix to an empty string DSP preload function adds "(NULL)" string to the control name if a dsp suffix is not set. As result the control could not be find. Zero lenght string will fix that issue. Mot-CRs-fixed: (CR) Change-Id: I9e8f88fb2ac10d7143b0434926dc9b589138c298 Signed-off-by: Vlad Karpovich Reviewed-on: https://gerrit.mot.com/1193402 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Guobin Zhang Submit-Approved: Jira Key --- sound/soc/codecs/cs35l41.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c index 09bf36acc551..457c17239f67 100644 --- a/sound/soc/codecs/cs35l41.c +++ b/sound/soc/codecs/cs35l41.c @@ -1509,6 +1509,7 @@ static int cs35l41_dsp_init(struct cs35l41_private *cs35l41) dsp->rev = 0; dsp->dev = cs35l41->dev; dsp->regmap = cs35l41->regmap; + dsp->suffix = ""; dsp->base = CS35L41_DSP1_CTRL_BASE; dsp->base_sysinfo = CS35L41_DSP1_SYS_ID;