aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ak4671.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/ak4671.c')
-rw-r--r--sound/soc/codecs/ak4671.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/ak4671.c b/sound/soc/codecs/ak4671.c
index deb2b44669de..998fa0c5a0b9 100644
--- a/sound/soc/codecs/ak4671.c
+++ b/sound/soc/codecs/ak4671.c
@@ -613,17 +613,7 @@ static struct snd_soc_dai_driver ak4671_dai = {
613 613
614static int ak4671_probe(struct snd_soc_codec *codec) 614static int ak4671_probe(struct snd_soc_codec *codec)
615{ 615{
616 int ret; 616 return ak4671_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
617
618 ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP);
619 if (ret < 0) {
620 dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
621 return ret;
622 }
623
624 ak4671_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
625
626 return ret;
627} 617}
628 618
629static int ak4671_remove(struct snd_soc_codec *codec) 619static int ak4671_remove(struct snd_soc_codec *codec)