diff options
author | Jyri Sarha <jsarha@ti.com> | 2014-03-13 18:22:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-13 17:32:05 +0000 |
commit | bc236fa7301c6ca0ccf5470a964842d1a60e786f (patch) | |
tree | e87f5af8c96b2c5d731cb2bdc96fa56134d9b003 /sound/soc/codecs/tlv320aic31xx.c | |
parent | a2d57678ce98534a87de42e55e599cae730d17ca (diff) | |
download | linux-stable-bc236fa7301c6ca0ccf5470a964842d1a60e786f.tar.gz linux-stable-bc236fa7301c6ca0ccf5470a964842d1a60e786f.tar.bz2 linux-stable-bc236fa7301c6ca0ccf5470a964842d1a60e786f.zip |
ASoC: tlv320aic31xx: Remove snd_soc_codec_set_cache_io() call
Remove snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP) call
and codec->control_data = aic31xx->regmap assignment since that
already done by core.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/tlv320aic31xx.c')
-rw-r--r-- | sound/soc/codecs/tlv320aic31xx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c index bdc0d8bd47b4..dcdc5751048f 100644 --- a/sound/soc/codecs/tlv320aic31xx.c +++ b/sound/soc/codecs/tlv320aic31xx.c @@ -1049,18 +1049,9 @@ static int aic31xx_codec_probe(struct snd_soc_codec *codec) dev_dbg(aic31xx->dev, "## %s\n", __func__); aic31xx = snd_soc_codec_get_drvdata(codec); - codec->control_data = aic31xx->regmap; aic31xx->codec = codec; - ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP); - - if (ret != 0) { - dev_err(codec->dev, "snd_soc_codec_set_cache_io failed %d\n", - ret); - return ret; - } - for (i = 0; i < ARRAY_SIZE(aic31xx->supplies); i++) { aic31xx->disable_nb[i].nb.notifier_call = aic31xx_regulator_event; |