msm: mdss: flush ongoing hpd work before turning hpd off
Since hpd off and hpd interrupt work are always in different contexts,
in a very strict timing window it is possible that hpd off is scheduled the
middle of hpd interrupt work. If this happens, when hpd interrupt work
resumes after hpd off is serviced, un-clocked register access may lead
to unknown outcome. Counter this situation by flushing the hpd interrupt
work, if any, before calling hpd off.
Change-Id: I669db5d4b8cbdd20fa24e03f0a8a0f3f2a029ee0
CRs-Fixed: 482357
Signed-off-by:
Ujwal Patel <ujwalp@codeaurora.org>
Loading
Please register or sign in to comment