diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2021-11-02 10:58:21 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-11-02 10:58:21 +0200 |
commit | 4a6edf629bcc105703d4c0fb7ca5809c3ffce3a7 (patch) | |
tree | 2e612ad82cf21eeea1d26a3c864dcb48c035cd9e | |
parent | 7f4e92695bdda55ac5b97f0393e0a864363478e8 (diff) |
Revert "bus: mhi: Early MHI resume failure in non M3 state"ath-202111020858
This reverts commit 020d3b26c07abe274ac17f64999bbd3bf3342195.
-rw-r--r-- | drivers/bus/mhi/core/pm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/bus/mhi/core/pm.c b/drivers/bus/mhi/core/pm.c index fb99e3727155..89347eea50d5 100644 --- a/drivers/bus/mhi/core/pm.c +++ b/drivers/bus/mhi/core/pm.c @@ -898,9 +898,6 @@ int mhi_pm_resume(struct mhi_controller *mhi_cntrl) if (MHI_PM_IN_ERROR_STATE(mhi_cntrl->pm_state)) return -EIO; - if (mhi_get_mhi_state(mhi_cntrl) != MHI_STATE_M3) - return -EINVAL; - /* Notify clients about exiting LPM */ list_for_each_entry_safe(itr, tmp, &mhi_cntrl->lpm_chans, node) { mutex_lock(&itr->mutex); |