Commit 50a0072f authored by Imre Deak's avatar Imre Deak Committed by Daniel Vetter

drm/i915: propagate error from legacy resume handler

Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent f2888fab
......@@ -810,10 +810,13 @@ int i915_resume(struct drm_device *dev)
static int i915_resume_legacy(struct drm_device *dev)
{
i915_resume_early(dev);
i915_resume(dev);
int ret;
return 0;
ret = i915_resume_early(dev);
if (ret)
return ret;
return i915_resume(dev);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment