From: Alan Cox Date: Tue, 5 Jul 2011 14:38:11 +0000 (+0100) Subject: gma500: Only fiddle with clock gating on PSB X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bcc70a64a443ec19f84bb0dc3268d2c95b52e209;p=linux-beck.git gma500: Only fiddle with clock gating on PSB Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/gma500/psb_powermgmt.c b/drivers/staging/gma500/psb_powermgmt.c index f837ab0608ce..2253ecbfd61c 100644 --- a/drivers/staging/gma500/psb_powermgmt.c +++ b/drivers/staging/gma500/psb_powermgmt.c @@ -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 */