ASoC: codecs: fix a typo of dapm string concatenate

SWR DAC_PORT string should be defined as SWR DAC_Port
This was causing "ASoC: unknown pin" issue.

Change-Id: I31ce7bf983b3793f8e4ee9702f5df021a89fd389
Signed-off-by: Junkai Cai <junkai@codeaurora.org>
This commit is contained in:
Junkai Cai
2021-04-26 16:58:21 -07:00
parent 647c4b4898
commit 6d66c41d46

View File

@@ -1359,7 +1359,7 @@ static int wsa883x_codec_probe(struct snd_soc_component *component)
memset(w_name, 0, sizeof(w_name));
strlcpy(w_name, component->name_prefix, sizeof(w_name));
strlcat(w_name, " SWR DAC_PORT", sizeof(w_name));
strlcat(w_name, " SWR DAC_Port", sizeof(w_name));
snd_soc_dapm_ignore_suspend(dapm, w_name);
memset(w_name, 0, sizeof(w_name));