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>
This commit is contained in:
Ashok Vuyyuru
2022-08-03 15:00:23 +05:30
committad av Gerrit - the friendly Code Review server
förälder 395fcbaab4
incheckning 03221c801d

Visa fil

@@ -9526,8 +9526,8 @@ static int ipa3_pre_init(const struct ipa3_plat_drv_res *resource_p,
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;