summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/cdv_device.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-13 18:27:29 +0400
committerDave Airlie <airlied@gmail.com>2012-08-24 11:02:42 +0400
commit6f314ebbaa2667d67a7206ba78f28e46cf47eda5 (patch)
treeb824fa1231f6a49721f58626f8173dd4c76109d8 /drivers/gpu/drm/gma500/cdv_device.c
parentf64c48f1d39cbe9e14dd25104633b486b1226606 (diff)
downloadlinux-6f314ebbaa2667d67a7206ba78f28e46cf47eda5.tar.xz
gma500: Fix frequency detection
If we have a 266MHz part we set core_freq to 0 in several spots Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/cdv_device.c')
-rw-r--r--drivers/gpu/drm/gma500/cdv_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_device.c b/drivers/gpu/drm/gma500/cdv_device.c
index 4882e642eec3..bfc2f397019a 100644
--- a/drivers/gpu/drm/gma500/cdv_device.c
+++ b/drivers/gpu/drm/gma500/cdv_device.c
@@ -457,6 +457,7 @@ static void cdv_get_core_freq(struct drm_device *dev)
case 6:
case 7:
dev_priv->core_freq = 266;
+ break;
default:
dev_priv->core_freq = 0;
}