gma500: Only fiddle with clock gating on PSB
authorAlan Cox <alan@linux.intel.com>
Tue, 5 Jul 2011 14:38:11 +0000 (15:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 15:20:40 +0000 (08:20 -0700)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/psb_powermgmt.c

index f837ab0608ce1773e171ff45808f5d9de707c328..2253ecbfd61c57d3e5ef0d9b4a583296723e66c0 100644 (file)
@@ -64,7 +64,7 @@ void gma_power_init(struct drm_device *dev)
        dev_priv->suspended = false;    /* And not suspended */
        mutex_init(&power_mutex);
 
-       if (!IS_MRST(dev)) {
+       if (!IS_MRST(dev) && !IS_MFLD(dev)) {
                /* FIXME: wants further review */
                u32 gating = PSB_RSGX32(PSB_CR_CLKGATECTL);
                /* Disable 2D clock gating */