Prechádzať zdrojové kódy

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 <[email protected]>
Junkai Cai 4 rokov pred
rodič
commit
6d66c41d46
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      asoc/codecs/wsa883x/wsa883x.c

+ 1 - 1
asoc/codecs/wsa883x/wsa883x.c

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