diff options
Diffstat (limited to 'sound/soc/codecs/max98090.c')
-rw-r--r-- | sound/soc/codecs/max98090.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index f363de19be07..96a47459b3d7 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c | |||
@@ -2218,14 +2218,6 @@ static int max98090_probe(struct snd_soc_codec *codec) | |||
2218 | 2218 | ||
2219 | max98090->codec = codec; | 2219 | max98090->codec = codec; |
2220 | 2220 | ||
2221 | codec->control_data = max98090->regmap; | ||
2222 | |||
2223 | ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP); | ||
2224 | if (ret != 0) { | ||
2225 | dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); | ||
2226 | return ret; | ||
2227 | } | ||
2228 | |||
2229 | /* Reset the codec, the DSP core, and disable all interrupts */ | 2221 | /* Reset the codec, the DSP core, and disable all interrupts */ |
2230 | max98090_reset(max98090); | 2222 | max98090_reset(max98090); |
2231 | 2223 | ||