BACKPORT: bus: mhi: core: Remove WQ_MEM_RECLAIM flag due to warnings

Remove the WQ_MEM_RECLAIM flag from alloc_ordered_workqueue() as
network driver flushes its workqueues without it which generates
a warning after MHI clean-up is performed.

Change-Id: I835203692496c75d58587fd2bcd5a1287ab59955
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
This commit is contained in:
Bhaumik Bhatt
2021-02-02 16:50:41 -08:00
committed by theshaenix
parent c737084420
commit f0b974960d

View File

@@ -1543,8 +1543,7 @@ int of_register_mhi_controller(struct mhi_controller *mhi_cntrl)
INIT_WORK(&mhi_cntrl->st_worker, mhi_pm_st_worker);
init_waitqueue_head(&mhi_cntrl->state_event);
mhi_cntrl->wq = alloc_ordered_workqueue("mhi_w",
WQ_MEM_RECLAIM | WQ_HIGHPRI);
mhi_cntrl->wq = alloc_ordered_workqueue("mhi_w", WQ_HIGHPRI);
if (!mhi_cntrl->wq)
goto error_alloc_cmd;