mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "mhi: core: Release write lock in mhi fast resume on failure"
This commit is contained in:
commit
6edc453eb7
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue