commit | 765c35bbd267e93eabe15a94534688ddaa0b9dc7 | [log] [tgz] |
---|---|---|
author | Heiko Stübner <heiko@sntech.de> | Tue Jun 02 16:41:45 2015 +0200 |
committer | Mark Yao <mark.yao@rock-chips.com> | Mon Jul 13 13:50:52 2015 +0800 |
tree | 25e7ac3cfe80ac95a26b9682062e3e8ae0453d54 | |
parent | 85a359f2538882ec2a02f2331ad56a2cae3bb014 [diff] |
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: Heiko Stuebner <heiko@sntech.de>