Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 891
b: refs/heads/master
c: 836eeed
h: refs/heads/master
i:
  889: 21c2bf9
  887: f14bad2
v: v3
  • Loading branch information
Denis Vlasenko authored and Linus Torvalds committed May 4, 2005
1 parent af4a95e commit 138ab1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 1b75d8ba5ea96e174dc2674e01d87ce0d382ee44
refs/heads/master: 836eeed6cea8ca8138e9deff7571857923541604
6 changes: 4 additions & 2 deletions trunk/drivers/video/i810/i810_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,8 +1000,10 @@ static int i810_check_params(struct fb_var_screeninfo *var,

if (fb_validate_mode(var, info)) {
if (fb_get_mode(FB_MAXTIMINGS, 0, var, info)) {
int default_sync = (hsync1-HFMIN)|(hsync2-HFMAX)
|(vsync1-VFMIN)|(vsync2-VFMAX);
int default_sync = (info->monspecs.hfmin-HFMIN)
|(info->monspecs.hfmax-HFMAX)
|(info->monspecs.vfmin-VFMIN)
|(info->monspecs.vfmax-VFMAX);
printk("i810fb: invalid video mode%s\n",
default_sync ? "" :
". Specifying vsyncN/hsyncN parameters may help");
Expand Down

0 comments on commit 138ab1e

Please sign in to comment.