Browse Source

asoc: wsa881x: correction to codec name.

Minor correction to the codec name.

Change-Id: I6007ac716e12ec2fc2e66d805ced8f77529174dd
Signed-off-by: Vangala, Amarnath <[email protected]>
Vangala, Amarnath 4 years ago
parent
commit
8b88a0f8a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      asoc/codecs/wsa881x-analog.c

+ 1 - 1
asoc/codecs/wsa881x-analog.c

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