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

Commit 0d537dd2 authored by Naman Padhiar's avatar Naman Padhiar Committed by Gerrit - the friendly Code Review server
Browse files

icnss2: Make SOC_WAKE workqueue as high priority



ICNSS2 process SOC_WAKE requests serially by putting the
in a workqueue. Create this workqueue as high priority
queue.

Change-Id: I9920f744bc56655c4ab52273fae3242300237a37
Signed-off-by: default avatarNaman Padhiar <npadhiar@codeaurora.org>
parent e3194154
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3901,7 +3901,7 @@ static int icnss_probe(struct platform_device *pdev)
	INIT_LIST_HEAD(&priv->event_list);

	priv->soc_wake_wq = alloc_workqueue("icnss_soc_wake_event",
					    WQ_UNBOUND, 1);
					    WQ_UNBOUND|WQ_HIGHPRI, 1);
	if (!priv->soc_wake_wq) {
		icnss_pr_err("Soc wake Workqueue creation failed\n");
		ret = -EFAULT;