From 848ba5dcf46955be02a5ec249a7caacf0615fa79 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 9 Jul 2009 00:58:03 +0100 Subject: Fix resume, part 2 This removes a bogus check of var->pixclock. With KMS, this value is not relevant. Signed-off-by: Thomas White --- drivers/mfd/glamo/glamo-kms-fb.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers') diff --git a/drivers/mfd/glamo/glamo-kms-fb.c b/drivers/mfd/glamo/glamo-kms-fb.c index 13dce09d615..b0d46b39a29 100644 --- a/drivers/mfd/glamo/glamo-kms-fb.c +++ b/drivers/mfd/glamo/glamo-kms-fb.c @@ -143,9 +143,6 @@ static int glamofb_check_var(struct fb_var_screeninfo *var, struct drm_framebuffer *fb = &glamo_fb->base; int depth; - if (var->pixclock == -1 || !var->pixclock) - return -EINVAL; - /* Need to resize the fb object !!! */ if (var->xres > fb->width || var->yres > fb->height) { DRM_ERROR("Cannot resize framebuffer object (%dx%d > %dx%d)\n", -- cgit v1.2.3