diff options
author | Inki Dae <inki.dae@samsung.com> | 2015-08-11 21:23:49 +0900 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-08-11 17:20:30 +0200 |
commit | 845249172a363c2217af5926fac17f58c7228aa4 (patch) | |
tree | c9b6f969af7eb7a024cd028f95ea1c8970d9b595 /drivers/gpu/vga/vgaarb.c | |
parent | 0695726e85b45f3298f64fa4cee89f40f923fb8c (diff) |
drm/atomic: fix null pointer access to mode_fixup callback
This patch fixes null pointer access incurred when
encoder driver didn't set its own mode_fixup callback.
mode_fixup callback shoudn't be called if the callback
of drm_encoder_helper_funcs is NULL.
Changelog v2:
- change it to else if
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/vga/vgaarb.c')
0 files changed, 0 insertions, 0 deletions