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

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

Merge "mhi: core: Force PM state to M0 while processing BW scaling event"

parents 94903edb 726bf061
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1424,6 +1424,9 @@ int mhi_process_bw_scale_ev_ring(struct mhi_controller *mhi_cntrl,

	if (ev_ring->rp == dev_rp) {
		spin_unlock_bh(&mhi_event->lock);
		read_lock_bh(&mhi_cntrl->pm_lock);
		mhi_cntrl->wake_put(mhi_cntrl, false);
		read_unlock_bh(&mhi_cntrl->pm_lock);
		MHI_VERB("no pending event found\n");
		goto exit_bw_process;
	}