ASoC: io: New signature for snd_soc_codec_set_cache_io()
[deliverable/linux.git] / sound / soc / codecs / wm8400.c
index 48dc7d2fee36fc07c236f6e9a09ea74cdb38d824..939baf83bb5928494d0a199d9eec471ff646a618 100644 (file)
@@ -1310,10 +1310,9 @@ static int wm8400_codec_probe(struct snd_soc_codec *codec)
 
        snd_soc_codec_set_drvdata(codec, priv);
        priv->wm8400 = wm8400;
-       codec->control_data = wm8400->regmap;
        priv->codec = codec;
 
-       snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_REGMAP);
+       snd_soc_codec_set_cache_io(codec, wm8400->regmap);
 
        ret = devm_regulator_bulk_get(wm8400->dev,
                                 ARRAY_SIZE(power), &power[0]);
This page took 0.076891 seconds and 5 git commands to generate.