mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-27 04:33:10 +00:00
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:
committed by
Thomas Turner
parent
a86148f89f
commit
63c225a955
@ -1572,8 +1572,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user