diff options
Diffstat (limited to 'sound/soc/codecs/wm8962.c')
-rw-r--r-- | sound/soc/codecs/wm8962.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 62af9dc59fc5..5522d2566c67 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c | |||
@@ -3424,13 +3424,6 @@ static int wm8962_probe(struct snd_soc_codec *codec) | |||
3424 | bool dmicclk, dmicdat; | 3424 | bool dmicclk, dmicdat; |
3425 | 3425 | ||
3426 | wm8962->codec = codec; | 3426 | wm8962->codec = codec; |
3427 | codec->control_data = wm8962->regmap; | ||
3428 | |||
3429 | ret = snd_soc_codec_set_cache_io(codec, 16, 16, SND_SOC_REGMAP); | ||
3430 | if (ret != 0) { | ||
3431 | dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); | ||
3432 | return ret; | ||
3433 | } | ||
3434 | 3427 | ||
3435 | wm8962->disable_nb[0].notifier_call = wm8962_regulator_event_0; | 3428 | wm8962->disable_nb[0].notifier_call = wm8962_regulator_event_0; |
3436 | wm8962->disable_nb[1].notifier_call = wm8962_regulator_event_1; | 3429 | wm8962->disable_nb[1].notifier_call = wm8962_regulator_event_1; |