drm/i915: Handle error to get connector state when staging config
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 27 Mar 2015 13:33:51 +0000 (15:33 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Mar 2015 14:06:52 +0000 (15:06 +0100)
commit9d918c157fc27716ca8d601745b4776a3145cc93
treefd8dbc59345c0aa131a323255d4994114c319111
parent9abc464854cf12273ebe66dc5e4a9d82b6e0c303
drm/i915: Handle error to get connector state when staging config

The return value of one of the calls to drm_atomic_get_connector_state()
in intel_modeset_stage_output_state() wasn't checked for errors.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c