diff --git a/drivers/bus/mhi/core/mhi_pm.c b/drivers/bus/mhi/core/mhi_pm.c index 9829b67160b8..e3dc2d5059ae 100644 --- a/drivers/bus/mhi/core/mhi_pm.c +++ b/drivers/bus/mhi/core/mhi_pm.c @@ -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; }