aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-04-18 14:25:14 +0200
committerThomas White <taw@bitwiz.org.uk>2010-04-18 14:25:14 +0200
commit41d7c60ae54e843323dbc942b6a8bac02cf2f938 (patch)
tree7b28ec18ecd7814d0df3fc1315117f50bf80634c
parent29243352b628beb11b81dc2373225827ecb020e2 (diff)
Reject modes with clock=0
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
-rw-r--r--drivers/mfd/glamo/glamo-display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/glamo/glamo-display.c b/drivers/mfd/glamo/glamo-display.c
index 24a1a31025d..f57d273f30c 100644
--- a/drivers/mfd/glamo/glamo-display.c
+++ b/drivers/mfd/glamo/glamo-display.c
@@ -522,6 +522,7 @@ static bool glamo_encoder_mode_fixup(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
+ if ( mode->clock == 0 ) return false;
return true;
}