mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 02:46:40 +07:00
drm/i915: propagate error from legacy resume handler
Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
f2888fabfb
commit
50a0072f38
@ -810,10 +810,13 @@ int i915_resume(struct drm_device *dev)
|
|||||||
|
|
||||||
static int i915_resume_legacy(struct drm_device *dev)
|
static int i915_resume_legacy(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
i915_resume_early(dev);
|
int ret;
|
||||||
i915_resume(dev);
|
|
||||||
|
|
||||||
return 0;
|
ret = i915_resume_early(dev);
|
||||||
|
if (ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
return i915_resume(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user