diff options
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/rt5639.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/rt5640.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5639.c b/sound/soc/codecs/rt5639.c index 139503e0d32a..06c8451a27c8 100644 --- a/sound/soc/codecs/rt5639.c +++ b/sound/soc/codecs/rt5639.c @@ -2239,6 +2239,8 @@ static int rt5639_probe(struct snd_soc_codec *codec) struct rt5639_priv *rt5639 = snd_soc_codec_get_drvdata(codec); int ret; + codec->dapm.idle_bias_off = 1; + ret = snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_I2C); if (ret != 0) { dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index e3d0af02e392..4f50b39cb48a 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -2302,6 +2302,8 @@ static int rt5640_probe(struct snd_soc_codec *codec) int ret; u16 val; + codec->dapm.idle_bias_off = 1; + ret = snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_I2C); if (ret != 0) { dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); |