commit | 893da0c9bcb26acf1ac277f29231bb2a3b0aa95c | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Thu Oct 08 19:28:00 2015 +0530 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Dec 09 14:32:22 2015 +0100 |
tree | 4fd72ad7489c195ff48515b99931bf3f212f524e | |
parent | 506a8e87d8d2746b9e9d2433503fe237c54e4750 [diff] |
drm/i915: check for return value We were not checking the return value of drm_encoder_init() which can fail. And if it fails then we will be working with an uninitialized encoder. Cc: Daniel Vetter <daniel.vetter@intel.com> Cc: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1444312681-10149-2-git-send-email-sudipm.mukherjee@gmail.com