diff options
Diffstat (limited to 'sound/soc/codecs/wm5100.c')
-rw-r--r-- | sound/soc/codecs/wm5100.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c index 4e3e31aaf509..bac848f009e7 100644 --- a/sound/soc/codecs/wm5100.c +++ b/sound/soc/codecs/wm5100.c | |||
@@ -2337,13 +2337,6 @@ static int wm5100_probe(struct snd_soc_codec *codec) | |||
2337 | int ret, i; | 2337 | int ret, i; |
2338 | 2338 | ||
2339 | wm5100->codec = codec; | 2339 | wm5100->codec = codec; |
2340 | codec->control_data = wm5100->regmap; | ||
2341 | |||
2342 | ret = snd_soc_codec_set_cache_io(codec, 16, 16, SND_SOC_REGMAP); | ||
2343 | if (ret != 0) { | ||
2344 | dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); | ||
2345 | return ret; | ||
2346 | } | ||
2347 | 2340 | ||
2348 | for (i = 0; i < ARRAY_SIZE(wm5100_dig_vu); i++) | 2341 | for (i = 0; i < ARRAY_SIZE(wm5100_dig_vu); i++) |
2349 | snd_soc_update_bits(codec, wm5100_dig_vu[i], WM5100_OUT_VU, | 2342 | snd_soc_update_bits(codec, wm5100_dig_vu[i], WM5100_OUT_VU, |