Commit 956c37ed authored by Huaibin Yang's avatar Huaibin Yang
Browse files

msm_fb: display: fix the suspend/resume hang caused by wait4vsync stuck



wait_for_completion in wait4vsync stucks after multiple suspend/resume
tests. The cause is that when show_event timeout happens, or vsync isr
is disabled for long time, wait_vsync_cnt resets to zero, and in vsync
isr complete_all has no chance to be called which caused mdp hang. So
complete_all needs to be called whenever show_event has timeouts.

Change-Id: I124899ff95fd5550d2759d215f16fa9cb8c0c211
Signed-off-by: default avatarHuaibin Yang <huaibiny@codeaurora.org>
parent d0302d55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment