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

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

Merge "mhi: core: Trigger host resume if client requests device vote"

parents 4150d8a5 3b3df2c3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1594,6 +1594,7 @@ void mhi_device_get(struct mhi_device *mhi_dev, int vote)

	if (vote & MHI_VOTE_DEVICE) {
		read_lock_bh(&mhi_cntrl->pm_lock);
		mhi_trigger_resume(mhi_cntrl);
		mhi_cntrl->wake_get(mhi_cntrl, true);
		MHI_LOG("dev_wake %d\n", atomic_read(&mhi_cntrl->dev_wake));
		read_unlock_bh(&mhi_cntrl->pm_lock);