asoc: wsa881x: correction to codec name.

Minor correction to the codec name.

Change-Id: I6007ac716e12ec2fc2e66d805ced8f77529174dd
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
This commit is contained in:
Vangala, Amarnath
2020-07-28 18:35:48 +05:30
父節點 ca5e93ad66
當前提交 8b88a0f8a8

查看文件

@@ -1521,7 +1521,7 @@ static int wsa881x_i2c_probe(struct i2c_client *client,
memcpy(pdata->dai_driver, wsa_dai,
sizeof(struct snd_soc_dai_driver));
snprintf(buffer, sizeof(buffer), "wsa-codec.%d", wsa881x_index);
snprintf(buffer, sizeof(buffer), "wsa-codec%d", wsa881x_index);
pdata->driver->name = kstrndup(buffer,
strlen(buffer), GFP_KERNEL);