Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -149,7 +149,8 @@ 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,
			queue_delayed_work(system_power_efficient_wq,
					   &rtd->delayed_work,
					   msecs_to_jiffies(rtd->pmdown_time));
		}
	} else {