summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-07-05 15:38:11 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-05 08:20:40 -0700
commitbcc70a64a443ec19f84bb0dc3268d2c95b52e209 (patch)
tree9347c221dbc97540ea2a25a66798457e05392b50 /drivers
parent5338afdfb5eeaefeefd9dcdb06977920eca5d941 (diff)
downloadlwn-bcc70a64a443ec19f84bb0dc3268d2c95b52e209.tar.gz
lwn-bcc70a64a443ec19f84bb0dc3268d2c95b52e209.zip
gma500: Only fiddle with clock gating on PSB
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/gma500/psb_powermgmt.c2
1 files changed, 1 insertions, 1 deletions
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 */