msm: ipa3: Adding changes to increase workqueue priority
In some scenarios WQ scheduling was delayed. To avoid these
issues adding changes to increase the WQ priority.
Change-Id: I597e73a354f2d136843b19a84c859fe3eb7b51e0
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c
index f331c43..b3519be 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa.c
@@ -9549,8 +9549,8 @@
atomic_set(&ipa3_ctx->ipa3_active_clients.cnt, 1);
/* Create workqueues for power management */
- ipa3_ctx->power_mgmt_wq =
- create_singlethread_workqueue("ipa_power_mgmt");
+ ipa3_ctx->power_mgmt_wq = alloc_workqueue("ipa_power_mgmt",
+ WQ_MEM_RECLAIM | WQ_UNBOUND | WQ_SYSFS | WQ_HIGHPRI, 1);
if (!ipa3_ctx->power_mgmt_wq) {
IPAERR("failed to create power mgmt wq\n");
result = -ENOMEM;