[v2,3/6] ASoc: codecs: max98373: remove Idle_bias_on to let codec suspend
diff mbox series

Message ID 20200707205740.114927-4-pierre-louis.bossart@linux.intel.com
State Accepted
Commit 0fd3935ef888b7231fde87eba3fdf613c4923b4a
Headers show
Series
  • ASoC: codecs: add MAX98373 Soundwire driver
Related show

Commit Message

Pierre-Louis Bossart July 7, 2020, 8:57 p.m. UTC
From: randerwang <rander.wang@linux.intel.com>

Idle_bias_on is used to decide bias on/off in standby state by dapm.
When Idle_bias_on is set to one, dapm will keep max98373 active at
idle time. Max98373 is doing nothing in this state, so remove
idle_bias_on setting to let max98373 get suspended when it is idle.

Reviewed-by: Ryan Lee <ryans.lee@maximintegrated.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: randerwang <rander.wang@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/soc/codecs/max98373.c | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox series

diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index c3202c1dc517..bf5572fc4f66 100644
--- a/sound/soc/codecs/max98373.c
+++ b/sound/soc/codecs/max98373.c
@@ -390,7 +390,6 @@  const struct snd_soc_component_driver soc_codec_dev_max98373 = {
 	.num_dapm_widgets	= ARRAY_SIZE(max98373_dapm_widgets),
 	.dapm_routes		= max98373_audio_map,
 	.num_dapm_routes	= ARRAY_SIZE(max98373_audio_map),
-	.idle_bias_on		= 1,
 	.use_pmdown_time	= 1,
 	.endianness		= 1,
 	.non_legacy_dai_naming	= 1,