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

Commit de29432d authored by Nitesh Gupta's avatar Nitesh Gupta
Browse files

msm: mhi_dev: allocate high priority Workqueue for mhi_sm_wq



Allocate high priority work queue for mhi_sm_wq such that
MHI state change events are handled with priority.

Change-Id: I3d95e23b3daafce5a8888e5203caa75f1744351b
Signed-off-by: default avatarNitesh Gupta <nitegupt@codeaurora.org>
parent 9499b3ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1102,7 +1102,7 @@ int mhi_dev_sm_init(struct mhi_dev *mhi_dev)

	/*init debugfs*/
	mhi_sm_debugfs_init();
	mhi_sm_ctx->mhi_sm_wq = create_singlethread_workqueue("mhi_sm_wq");
	mhi_sm_ctx->mhi_sm_wq = alloc_workqueue("mhi_sm_wq", WQ_HIGHPRI, 0);
	if (!mhi_sm_ctx->mhi_sm_wq) {
		MHI_SM_ERR("Failed to create singlethread_workqueue: sm_wq\n");
		res = -ENOMEM;