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

Commit 2718625f authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Set codec->dev for AC97 devices

parent e03a8d2c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1368,6 +1368,7 @@ int snd_soc_new_ac97_codec(struct snd_soc_codec *codec,

	codec->ac97->bus->ops = ops;
	codec->ac97->num = num;
	codec->dev = &codec->ac97->dev;
	mutex_unlock(&codec->mutex);
	return 0;
}