mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "mhi: core: Trigger host resume if client requests device vote"
This commit is contained in:
commit
d38c3e9e52
1 changed files with 1 additions and 0 deletions
|
|
@ -1569,6 +1569,7 @@ void mhi_device_get(struct mhi_device *mhi_dev, int vote)
|
|||
|
||||
if (vote & MHI_VOTE_DEVICE) {
|
||||
read_lock_bh(&mhi_cntrl->pm_lock);
|
||||
mhi_trigger_resume(mhi_cntrl);
|
||||
mhi_cntrl->wake_get(mhi_cntrl, true);
|
||||
MHI_LOG("dev_wake %d\n", atomic_read(&mhi_cntrl->dev_wake));
|
||||
read_unlock_bh(&mhi_cntrl->pm_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue