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

Skip to content
Commit 765c35bb authored by Heiko Stübner's avatar Heiko Stübner Committed by Mark Yao
Browse files

drm/rockchip: only call drm_fb_helper_hotplug_event if fb_helper present



Add a check for the presence of fb_helper to rockchip_drm_output_poll_changed()
to only call drm_fb_helper_hotplug_event if there is actually a fb_helper
available. Without this check I see NULL pointer dereferences when the
hdmi hotplug irq fires before the fb_helper got initialized.

Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 85a359f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment