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

Commit 026168cc authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi: core: initialize MHI lpm_mutex before use"

parents ef9d7222 49c3375d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -540,6 +540,7 @@ int mhi_init_timesync(struct mhi_controller *mhi_cntrl)
		return -ENOMEM;

	spin_lock_init(&mhi_tsync->lock);
	mutex_init(&mhi_tsync->lpm_mutex);
	INIT_LIST_HEAD(&mhi_tsync->head);
	init_completion(&mhi_tsync->completion);