diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-09 18:12:29 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-17 21:34:26 +0000 |
commit | 03bc67f592760de5b16a48cb07ca02ecedf5fa11 (patch) | |
tree | eb509f16e49372e7d9bedbab0bb55d4b518f9b00 | |
parent | df08b04c9a3f2925e34f778bf20d37623635c306 (diff) | |
download | linaro-lsk-v3.10/topic/pe-wq.tar.gz |
ASoC: compress: Use power efficient workqueuev3.10/topic/pe-wq
There is no need for the power down work to be done on a per CPU workqueue
especially considering the fairly long delay before powerdown.
Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
(cherry picked from commit 3d24cfe485e2750cc209a77dd62fa1fe004fc6c7)
-rw-r--r-- | sound/soc/soc-compress.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c index 06a8000aa07..97f04afae23 100644 --- a/sound/soc/soc-compress.c +++ b/sound/soc/soc-compress.c @@ -149,8 +149,9 @@ static int soc_compr_free(struct snd_compr_stream *cstream) SND_SOC_DAPM_STREAM_STOP); } else { rtd->pop_wait = 1; - schedule_delayed_work(&rtd->delayed_work, - msecs_to_jiffies(rtd->pmdown_time)); + queue_delayed_work(system_power_efficient_wq, + &rtd->delayed_work, + msecs_to_jiffies(rtd->pmdown_time)); } } else { /* capture streams can be powered down now */ |