From: Mark Brown Date: Tue, 16 Nov 2010 18:39:19 +0000 (+0000) Subject: ASoC: Fix register cache setup WM8994 for multi-component X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=11e713a07e0c03e2202ad1e87cd91d45842ce3da;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: Fix register cache setup WM8994 for multi-component During the multi-component conversion the WM8994 register cache init got lost. Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 0db59c3aa5d4..830dfdd66c5f 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -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;