diff options
author | Heiko Stübner <heiko@sntech.de> | 2015-06-02 16:41:45 +0200 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2015-07-13 07:50:52 +0200 |
commit | 765c35bbd267e93eabe15a94534688ddaa0b9dc7 (patch) | |
tree | 25e7ac3cfe80ac95a26b9682062e3e8ae0453d54 /security | |
parent | drm/rockchip: Add BGR formats to VOP (diff) | |
download | linux-765c35bbd267e93eabe15a94534688ddaa0b9dc7.tar.xz linux-765c35bbd267e93eabe15a94534688ddaa0b9dc7.zip |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions