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

Commit 11e713a0 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Fix register cache setup WM8994 for multi-component



During the multi-component conversion the WM8994 register cache init
got lost.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent bcbb2433
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3903,6 +3903,8 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
		return -ENOMEM;
	snd_soc_codec_set_drvdata(codec, wm8994);

	codec->reg_cache = &wm8994->reg_cache;

	wm8994->pdata = dev_get_platdata(codec->dev->parent);
	wm8994->codec = codec;