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 <Vlad.Karpovich@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1193402
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Vlad Karpovich 2018-06-06 16:51:50 -05:00 • committed by Yuesheng Huang
commit ead2ce4336

View file

@ -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;