ASoC: Set codec->dev for AC97 devices
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
parent
e03a8d2cf6
commit
2718625fba
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue