diff options
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r-- | sound/soc/codecs/wm8994.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 79854cb7feb6..6303537f54c6 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
@@ -3998,9 +3998,8 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec) | |||
3998 | int ret, i; | 3998 | int ret, i; |
3999 | 3999 | ||
4000 | wm8994->hubs.codec = codec; | 4000 | wm8994->hubs.codec = codec; |
4001 | codec->control_data = control->regmap; | ||
4002 | 4001 | ||
4003 | snd_soc_codec_set_cache_io(codec, 16, 16, SND_SOC_REGMAP); | 4002 | snd_soc_codec_set_cache_io(codec, control->regmap); |
4004 | 4003 | ||
4005 | mutex_init(&wm8994->accdet_lock); | 4004 | mutex_init(&wm8994->accdet_lock); |
4006 | INIT_DELAYED_WORK(&wm8994->jackdet_bootstrap, | 4005 | INIT_DELAYED_WORK(&wm8994->jackdet_bootstrap, |