diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-07-09 00:58:03 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-07-09 00:58:03 +0100 |
commit | 848ba5dcf46955be02a5ec249a7caacf0615fa79 (patch) | |
tree | 54752203679f579edccedffe6d4bcc9bd30d20ae /drivers | |
parent | 1bc42a6756626c744217ba1a3f488445d69df745 (diff) |
Fix resume, part 2
This removes a bogus check of var->pixclock. With KMS, this value
is not relevant.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/glamo/glamo-kms-fb.c | 3 |
1 files changed, 0 insertions, 3 deletions
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", |