diff options
Diffstat (limited to 'sound/soc/codecs/wm8731.c')
-rw-r--r-- | sound/soc/codecs/wm8731.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 029720366ff8..2c95b633e7df 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c | |||
@@ -583,13 +583,6 @@ static int wm8731_probe(struct snd_soc_codec *codec) | |||
583 | struct wm8731_priv *wm8731 = snd_soc_codec_get_drvdata(codec); | 583 | struct wm8731_priv *wm8731 = snd_soc_codec_get_drvdata(codec); |
584 | int ret = 0, i; | 584 | int ret = 0, i; |
585 | 585 | ||
586 | codec->control_data = wm8731->regmap; | ||
587 | ret = snd_soc_codec_set_cache_io(codec, 7, 9, SND_SOC_REGMAP); | ||
588 | if (ret < 0) { | ||
589 | dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); | ||
590 | return ret; | ||
591 | } | ||
592 | |||
593 | for (i = 0; i < ARRAY_SIZE(wm8731->supplies); i++) | 586 | for (i = 0; i < ARRAY_SIZE(wm8731->supplies); i++) |
594 | wm8731->supplies[i].supply = wm8731_supply_names[i]; | 587 | wm8731->supplies[i].supply = wm8731_supply_names[i]; |
595 | 588 | ||