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

Skip to content
Commit afd2c186 authored by Qing Huang's avatar Qing Huang Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/sde: Fix race condition between enable/disable hist irq



IPC suspend/resume will disable/enable hist interrupt
by traversing the user_event_list. Hist interrupt mask
register is also cleared and set in IPC suspend/resume.

When register hist event is called from userspace, it
will enable IRQ and mark irq state as enabled, then
add it into user_event_list.

If IPC suspend is coming before event is added into
user_event_list and after enable IRQ, Hist interrupt
mask register will be cleared but state has not been
marked as disabled. Hence hist interrupt mask register
will not be set when IPC resume since state was marked
as enabled.

Change-Id: I7dd9295af699ac408666a268d8f9aadc7b2e5e70
Signed-off-by: default avatarQing Huang <huangq@codeaurora.org>
parent 61240ba4
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