Skip to content

Commit

Permalink
ASoC: Fix register cache setup WM8994 for multi-component
Browse files Browse the repository at this point in the history
During the multi-component conversion the WM8994 register cache init
got lost.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Mark Brown committed Nov 17, 2010
1 parent bcbb243 commit 11e713a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 11e713a

Please sign in to comment.