summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikesh Oswal <noswal@nvidia.com>2011-10-31 11:57:17 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-23 15:37:02 -0700
commit0412f435b279e6aabdad8a7268c5cb4e69bdf206 (patch)
tree21f6372c7485d744e9325f2a9081b2237cd9a6ef
parent4435fa3c09f1dee15bf19284ee73955ec7f8a389 (diff)
asoc: max98088: set the dapm idle bias off flag
with the idle bias off flag set, dapm will turn the codec bias off in standby Bug: 862023 Change-Id: I21758bb08efbfba0e06dba5a129a57be38331cb9 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/61087 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rc27d29eceff9ccfa2cf896b5aa08728b48cfe6f6
-rw-r--r--sound/soc/codecs/max98088.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c
index ec204bda668f..9c17b71881fb 100644
--- a/sound/soc/codecs/max98088.c
+++ b/sound/soc/codecs/max98088.c
@@ -2049,6 +2049,7 @@ static int max98088_probe(struct snd_soc_codec *codec)
int ret = 0;
codec->cache_sync = 1;
+ codec->dapm.idle_bias_off = 1;
ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_I2C);
if (ret != 0) {