From: Mark Brown Date: Fri, 9 Aug 2013 17:12:29 +0000 (+0100) Subject: ASoC: compress: Use power efficient workqueue X-Git-Tag: next-20130822~64^2~49^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3d24cfe485e2750cc209a77dd62fa1fe004fc6c7;p=karo-tx-linux.git 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 Acked-by: Vinod Koul --- 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) 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 */