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

Commit adce4cc2 authored by Prasad Sodagudi's avatar Prasad Sodagudi
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 a9cdbef8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1833,7 +1833,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);