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

Skip to content
Commit 4d2a31e8 authored by Bhaumik Bhatt's avatar Bhaumik Bhatt
Browse files

mhi: core: ensure device wake gets cleared if unvote was forced



When unvote API is called with the intention of forcing device
wake to be cleared, it may not happen if another client already
has a vote and dev_wake reference count does not go to zero.
Device will not move to low power states unless the unvote is
forced again. Clear wake the next time any client unvotes and
reference count goes to zero using the ignore_override boolean.

Change-Id: I28ea6f327a538eb4db8dd4564ce7b9a1d4ac668d
Signed-off-by: default avatarBhaumik Bhatt <bbhatt@codeaurora.org>
parent 9f487944
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment