audio-kernel: asoc : Upgrade asoc to support 5.10 kernel

Change-Id: Ia54112cfbde418d66b9314d4ba731928aa057558
Signed-off-by: Jyotirmoi Sarma <jyosarma@codeaurora.org>
This commit is contained in:
Jyotirmoi Sarma
2020-11-26 14:43:13 +05:30
committed by Gerrit - the friendly Code Review server
parent 9fc4437cd8
commit a3d8911945
21 changed files with 166 additions and 176 deletions

View File

@@ -631,7 +631,7 @@ static int swr_dmic_probe(struct swr_device *pdev)
goto dev_err;
}
strlcpy(prefix_name, swr_dmic_name_prefix_of,
strlen(swr_dmic_name_prefix_of) + 1);
strlen(prefix_name) + 1);
component->name_prefix = prefix_name;
return 0;