diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-09 13:12:29 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-12 06:04:54 -0400 |
commit | 3d24cfe485e2750cc209a77dd62fa1fe004fc6c7 (patch) | |
tree | 85aba9906b0e6cb9e1a27b67c047a54a716fb605 /sound/soc/soc-compress.c | |
parent | 02bd90e86dc63728feebaf2b238684208ccb19eb (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>
Diffstat (limited to 'sound/soc/soc-compress.c')
-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 d22015074670..53c9ecdd119f 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) | |||
149 | SND_SOC_DAPM_STREAM_STOP); | 149 | SND_SOC_DAPM_STREAM_STOP); |
150 | } else { | 150 | } else { |
151 | rtd->pop_wait = 1; | 151 | rtd->pop_wait = 1; |
152 | schedule_delayed_work(&rtd->delayed_work, | 152 | queue_delayed_work(system_power_efficient_wq, |
153 | msecs_to_jiffies(rtd->pmdown_time)); | 153 | &rtd->delayed_work, |
154 | msecs_to_jiffies(rtd->pmdown_time)); | ||
154 | } | 155 | } |
155 | } else { | 156 | } else { |
156 | /* capture streams can be powered down now */ | 157 | /* capture streams can be powered down now */ |