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

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

Merge "mhi: core: Release write lock in mhi fast resume on failure"

parents 15dc7a3b f7938182
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1522,6 +1522,8 @@ int mhi_pm_fast_resume(struct mhi_controller *mhi_cntrl, bool notify_client)
		/* check EP is in proper state */
		if (mhi_cntrl->link_status(mhi_cntrl, mhi_cntrl->priv_data)) {
			MHI_ERR("Unable to access EP Config space\n");
			write_unlock_irq(&mhi_cntrl->pm_lock);
			tasklet_enable(&mhi_cntrl->mhi_event->task);
			return -EIO;
		}