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

Skip to content
Commit aa1bb7ba authored by Girish Mahadevan's avatar Girish Mahadevan
Browse files

serial: msm_geni_serial: Remove remaining power votes at shutdown



If during port shutdown, there are any remaining ioctl votes, then remove
these votes.
Ideally we want clients to remove the resource votes they put in, but if
the client userspace is forcefully terminated then they may not get a
chance to vote these off. Under such situations, the driver can remove any
remaining resource votes as leaving them around will prevent the device
from entering low power modes.

Change-Id: I46d054de97361e9a077f12b20373ba80f029a720
Signed-off-by: default avatarGirish Mahadevan <girishm@codeaurora.org>
parent 5db3df73
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