ASoC: codec: Simplify ASoC probe code.
[firefly-linux-kernel-4.4.55.git] / sound / soc / codecs / wm8737.c
index 2f167a8ca01b507cb3b61521de5db174b186b073..3693479b43d54c02e1f445ed833ea2184c2ae5e4 100644 (file)
@@ -570,12 +570,6 @@ static int wm8737_probe(struct snd_soc_codec *codec)
        struct wm8737_priv *wm8737 = snd_soc_codec_get_drvdata(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;
-       }
-
        ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies),
                                    wm8737->supplies);
        if (ret != 0) {