diff options
Diffstat (limited to 'sound/soc/codecs/wm8993.c')
-rw-r--r-- | sound/soc/codecs/wm8993.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index 433d59a0f3ef..1674a1f33ba0 100644 --- a/sound/soc/codecs/wm8993.c +++ b/sound/soc/codecs/wm8993.c | |||
@@ -1493,13 +1493,6 @@ static int wm8993_probe(struct snd_soc_codec *codec) | |||
1493 | wm8993->hubs_data.dcs_codes_r = -2; | 1493 | wm8993->hubs_data.dcs_codes_r = -2; |
1494 | wm8993->hubs_data.series_startup = 1; | 1494 | wm8993->hubs_data.series_startup = 1; |
1495 | 1495 | ||
1496 | codec->control_data = wm8993->regmap; | ||
1497 | ret = snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_REGMAP); | ||
1498 | if (ret != 0) { | ||
1499 | dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); | ||
1500 | return ret; | ||
1501 | } | ||
1502 | |||
1503 | /* Latch volume update bits and default ZC on */ | 1496 | /* Latch volume update bits and default ZC on */ |
1504 | snd_soc_update_bits(codec, WM8993_RIGHT_DAC_DIGITAL_VOLUME, | 1497 | snd_soc_update_bits(codec, WM8993_RIGHT_DAC_DIGITAL_VOLUME, |
1505 | WM8993_DAC_VU, WM8993_DAC_VU); | 1498 | WM8993_DAC_VU, WM8993_DAC_VU); |