Skip to content

Commit

Permalink
drm/i915: Remove duplicated psr.active unset
Browse files Browse the repository at this point in the history
psr.active is being unset out of the if so this here is useless and
duplicated.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Rodrigo Vivi authored and Daniel Vetter committed Mar 26, 2015
1 parent 5097f8c commit 3cd919f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/i915/intel_psr.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,8 +532,6 @@ static void intel_psr_exit(struct drm_device *dev)
WARN_ON(!(val & EDP_PSR_ENABLE));

I915_WRITE(EDP_PSR_CTL(dev), val & ~EDP_PSR_ENABLE);

dev_priv->psr.active = false;
} else {
val = I915_READ(VLV_PSRCTL(pipe));

Expand Down

0 comments on commit 3cd919f

Please sign in to comment.