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

Skip to content
Commit 3dd5febe authored by Nirmal Abraham's avatar Nirmal Abraham
Browse files

fbdev: msm: Call vsync_handler only after ctl start



In hdmi-as-primary usecase with resolution change, the
vsync_handler can get called from overlay_on function before
the vsync handler is registered via ctl_start. Add a check
to avoid the null ptr access while accessing the vsync
handler function ptr in this case.

Change-Id: Ic47b10502939c4a4751c78da1f8fe28b3005cf3b
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
parent 80cb08ef
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