Skip to content

Commit

Permalink
gma500: Fix resume paths
Browse files Browse the repository at this point in the history
We fall apart somewhat on resume because we don't invoke all the resume
methods as we should. Fix the silly error in the logic.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Alan Cox authored and Dave Airlie committed Mar 15, 2012
1 parent f137799 commit 50d44a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/gpu/drm/gma500/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ static void gma_resume_display(struct pci_dev *pdev)
struct drm_device *dev = pci_get_drvdata(pdev);
struct drm_psb_private *dev_priv = dev->dev_private;

if (dev_priv->suspended == false)
return;

/* turn on the display power island */
dev_priv->ops->power_up(dev);
dev_priv->suspended = false;
Expand Down

0 comments on commit 50d44a5

Please sign in to comment.