Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6f802b1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "asoc: wsa881x: correction to codec name."

parents 6d8a12d4 8b88a0f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);