Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5247
b: refs/heads/master
c: 0a793b7
h: refs/heads/master
i:
  5245: be21e58
  5243: bfbde5f
  5239: 7ab805d
  5231: d094026
  5215: a80d81f
  5183: 17ed832
  5119: 836927c
v: v3
  • Loading branch information
Jon Smirl authored and Linus Torvalds committed Jul 27, 2005
1 parent 8decdeb commit d2e409c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e4b7952cd34af4dd78e012265d4bc858db6adf3
refs/heads/master: 0a793b77f786022bd0fef1a18142c1b9be9e421d
2 changes: 2 additions & 0 deletions trunk/drivers/video/fbmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,8 @@ int fb_validate_mode(const struct fb_var_screeninfo *var, struct fb_info *info)
vtotal *= 2;

hfreq = pixclock/htotal;
hfreq = (hfreq + 500) / 1000 * 1000;

vfreq = hfreq/vtotal;

return (vfreq < vfmin || vfreq > vfmax ||
Expand Down

0 comments on commit d2e409c

Please sign in to comment.