diff options
author | Zidan Wang <zidan.wang@freescale.com> | 2015-10-28 13:50:18 +0800 |
---|---|---|
committer | Zidan Wang <zidan.wang@freescale.com> | 2015-10-30 14:58:01 +0800 |
commit | ef3c0a890b0dc0360213de5d462c2b1f82179584 (patch) | |
tree | cda5de01693fabe27034b27a9bf3136abf70dc10 /sound | |
parent | f42914b80a3ef5d04cd9ac56b57b1f6b9c94f09a (diff) |
MLK-10683 ASoC: wm8960: replace idle_bias_off with suspend_bias_off
After removing idle_bias_off, it will not set bias to off after playback,
it just set bias to standby, and will not power down codec VREF, so it can
decrease the obvious pop noise at the first second.
Only in suspend, it will set codec bias to off.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit ca7958ba19f5cee32215894fc7664b3451f7e9e6)
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8960.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c index 871536109e33..50079fa8b103 100644 --- a/sound/soc/codecs/wm8960.c +++ b/sound/soc/codecs/wm8960.c @@ -1122,7 +1122,7 @@ static int wm8960_probe(struct snd_soc_codec *codec) static struct snd_soc_codec_driver soc_codec_dev_wm8960 = { .probe = wm8960_probe, .set_bias_level = wm8960_set_bias_level, - .idle_bias_off = true, + .suspend_bias_off = true, }; static const struct regmap_config wm8960_regmap = { |