aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-18 17:46:24 -0400
committerMark Brown <broonie@linaro.org>2013-07-19 07:25:10 -0400
commitec1d648d6c6589986072913a7d45b1cef49eb4b0 (patch)
tree64672ef7fe56758d1f89a2cadd508a05019adfb1
parentad81f0545ef01ea651886dddac4bef6cec930092 (diff)
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: Mark Brown <broonie@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
-rw-r--r--sound/soc/codecs/wm8753.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index 0a4ab4c423d1..d96ebf52d953 100644
--- a/sound/soc/codecs/wm8753.c
+++ b/sound/soc/codecs/wm8753.c
@@ -1456,8 +1456,9 @@ static int wm8753_resume(struct snd_soc_codec *codec)
1456 if (codec->dapm.suspend_bias_level == SND_SOC_BIAS_ON) { 1456 if (codec->dapm.suspend_bias_level == SND_SOC_BIAS_ON) {
1457 wm8753_set_bias_level(codec, SND_SOC_BIAS_PREPARE); 1457 wm8753_set_bias_level(codec, SND_SOC_BIAS_PREPARE);
1458 codec->dapm.bias_level = SND_SOC_BIAS_ON; 1458 codec->dapm.bias_level = SND_SOC_BIAS_ON;
1459 schedule_delayed_work(&codec->dapm.delayed_work, 1459 queue_delayed_work(system_power_efficient_wq,
1460 msecs_to_jiffies(caps_charge)); 1460 &codec->dapm.delayed_work,
1461 msecs_to_jiffies(caps_charge));
1461 } 1462 }
1462 1463
1463 return 0; 1464 return 0;