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

Commit c2f4ea18 authored by Ingrid Gallardo's avatar Ingrid Gallardo
Browse files

msm: mdss: fix off work item scheduling during early wakeup



During the early wakeup event, current code
cancel any pending Gate or Off work items
pending and only schedules a delayed Off
work if we are transitioning from OFF state.
This is a problem since resources remain
enabled when multiple early wakeup calls
happen and the state is different than off.
Fix this problem by making sure that
early wakeup schedules an Off work item
if any previous work was cancel by this call.

Change-Id: I3c773221b53080443c62a0e7e09ed51ec43028a4
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent b06f2ad5
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