ASoC: codec: Simplify ASoC probe code.
[sfrench/cifs-2.6.git] / sound / soc / codecs / tlv320aic23.c
index 7b4cfef232ea71b6551332b8ff4af1a8f9e48dea..46b8a5073857b44a1fc87cf967681f52224e980f 100644 (file)
@@ -559,14 +559,6 @@ static int tlv320aic23_resume(struct snd_soc_codec *codec)
 
 static int tlv320aic23_codec_probe(struct snd_soc_codec *codec)
 {
-       int ret;
-
-       ret = snd_soc_codec_set_cache_io(codec, 7, 9, SND_SOC_REGMAP);
-       if (ret < 0) {
-               dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
-               return ret;
-       }
-
        /* Reset codec */
        snd_soc_write(codec, TLV320AIC23_RESET, 0);