aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-07-09 00:58:03 +0100
committerThomas White <taw@bitwiz.org.uk>2009-07-09 00:58:03 +0100
commit848ba5dcf46955be02a5ec249a7caacf0615fa79 (patch)
tree54752203679f579edccedffe6d4bcc9bd30d20ae /drivers
parent1bc42a6756626c744217ba1a3f488445d69df745 (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.c3
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",