Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174487
b: refs/heads/master
c: cda6be1
h: refs/heads/master
i:
  174485: 903d8af
  174483: e7f0d52
  174479: b6ff25b
v: v3
  • Loading branch information
Clemens Ladisch authored and Dave Airlie committed Nov 19, 2009
1 parent 59e95bd commit 1e303c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 731b5a15a3b1474a41c2ca29b4c32b0f21bc852e
refs/heads/master: cda6be1ce27d721a88cb90543a1e6d0f41baeaa4
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/drm_fb_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ int drm_fb_helper_check_var(struct fb_var_screeninfo *var,
struct drm_framebuffer *fb = fb_helper->fb;
int depth;

if (var->pixclock == -1 || !var->pixclock)
if (var->pixclock != 0)
return -EINVAL;

/* Need to resize the fb object !!! */
Expand Down Expand Up @@ -694,7 +694,7 @@ int drm_fb_helper_set_par(struct fb_info *info)
int ret;
int i;

if (var->pixclock != -1) {
if (var->pixclock != 0) {
DRM_ERROR("PIXEL CLCOK SET\n");
return -EINVAL;
}
Expand Down Expand Up @@ -907,7 +907,7 @@ int drm_fb_helper_single_fb_probe(struct drm_device *dev,
fb_helper->fb = fb;

if (new_fb) {
info->var.pixclock = -1;
info->var.pixclock = 0;
if (register_framebuffer(info) < 0)
return -EINVAL;
} else {
Expand Down

0 comments on commit 1e303c4

Please sign in to comment.