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

Skip to content
Commit 3618ff6c authored by Bhaumik Bhatt's avatar Bhaumik Bhatt
Browse files

mhi: core: handle vote APIs cleanly during power on/off transitions



When a client votes at a time of powering on or off the device,
it is possible the counts can go mismatched and host may assert.
Avoid these issues by clearing the votes at power on and do not
assert if client unvotes when device is inactive.

Change-Id: Iee7b51f11b6beaa11e7f0f5fcde416f8537f355c
Signed-off-by: default avatarBhaumik Bhatt <bbhatt@codeaurora.org>
parent 30d171ac
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