Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50d44a52 authored by Alan Cox's avatar Alan Cox Committed by Dave Airlie
Browse files

gma500: Fix resume paths



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: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f1377998
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;