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

Commit 90ff8e0d authored by Prasad Sodagudi's avatar Prasad Sodagudi Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: ssr: Initialize high priority workqueue



Initialize WQ_UNBOUND and WQ_HIGHPRI workqueue for SSR,
So that SSR for subsystems would not be delayed.

Change-Id: Idec372e5f2472d170c087a394ddc9018b39efe71
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 6d0b2be2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1889,7 +1889,8 @@ static int __init subsys_restart_init(void)
{
	int ret;

	ssr_wq = alloc_workqueue("ssr_wq", WQ_CPU_INTENSIVE, 0);
	ssr_wq = alloc_workqueue("ssr_wq",
		WQ_UNBOUND | WQ_HIGHPRI | WQ_CPU_INTENSIVE, 0);
	BUG_ON(!ssr_wq);

	ret = bus_register(&subsys_bus_type);