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>
This commit is contained in:
parent
e85240ca74
commit
cd6f5b0e8d
|
@ -246,8 +246,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 */
|
||||||
|
|
Loading…
Reference in New Issue