Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec1d648d authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: wm8753: Use power efficient workqueue



The work used to allow the capcitors to ramp is not performance sensitive
so let  the scheduler run it wherever is most efficient rather than in a
per CPU workqueue by using the system power efficient workqueue.

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent ad81f054
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1456,7 +1456,8 @@ static int wm8753_resume(struct snd_soc_codec *codec)
	if (codec->dapm.suspend_bias_level == SND_SOC_BIAS_ON) {
		wm8753_set_bias_level(codec, SND_SOC_BIAS_PREPARE);
		codec->dapm.bias_level = SND_SOC_BIAS_ON;
		schedule_delayed_work(&codec->dapm.delayed_work,
		queue_delayed_work(system_power_efficient_wq,
				   &codec->dapm.delayed_work,
				   msecs_to_jiffies(caps_charge));
	}