aboutsummaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-09 18:12:29 +0100
committerMoyster <oysterized@gmail.com>2016-08-26 20:22:08 +0200
commit49e0f5e7806d0b61f23d4757423c0f78755d8491 (patch)
tree50674a36240f08309fd3876d8889b52d0ca1d787 /sound/soc
parent95b4480893be5af52ed59f16b8bb753ff4b1f9f0 (diff)
ASoC: compress: Use power efficient workqueue
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) Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/soc-compress.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c
index 06a8000aa..97f04afae 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 */