Commit 3d24cfe4 authored by Mark Brown's avatar Mark Brown

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: default avatarMark Brown <broonie@linaro.org>
Acked-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 02bd90e8
...@@ -149,8 +149,9 @@ static int soc_compr_free(struct snd_compr_stream *cstream) ...@@ -149,8 +149,9 @@ static int soc_compr_free(struct snd_compr_stream *cstream)
SND_SOC_DAPM_STREAM_STOP); SND_SOC_DAPM_STREAM_STOP);
} else { } else {
rtd->pop_wait = 1; rtd->pop_wait = 1;
schedule_delayed_work(&rtd->delayed_work, queue_delayed_work(system_power_efficient_wq,
msecs_to_jiffies(rtd->pmdown_time)); &rtd->delayed_work,
msecs_to_jiffies(rtd->pmdown_time));
} }
} else { } else {
/* capture streams can be powered down now */ /* capture streams can be powered down now */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment