Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294195
b: refs/heads/master
c: c718a54
h: refs/heads/master
i:
  294193: 82d9ad6
  294191: 5fbab75
v: v3
  • Loading branch information
Danny Kukawka authored and Florian Tobias Schandinat committed Feb 13, 2012
1 parent 19f3cf7 commit 401fcf4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: c6d242aa64d27ebd258a12aa0a5da068e25e01f5
refs/heads/master: c718a54649475cc397484f96e70f6d0fdd267165
5 changes: 2 additions & 3 deletions trunk/drivers/video/riva/fbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1816,6 +1816,8 @@ static void __devinit riva_update_default_var(struct fb_var_screeninfo *var,
specs->modedb, specs->modedb_len,
NULL, 8);
} else if (specs->modedb != NULL) {
/* get first mode in database as fallback */
modedb = specs->modedb[0];
/* get preferred timing */
if (info->monspecs.misc & FB_MISC_1ST_DETAIL) {
int i;
Expand All @@ -1826,9 +1828,6 @@ static void __devinit riva_update_default_var(struct fb_var_screeninfo *var,
break;
}
}
} else {
/* otherwise, get first mode in database */
modedb = specs->modedb[0];
}
var->bits_per_pixel = 8;
riva_update_var(var, &modedb);
Expand Down

0 comments on commit 401fcf4

Please sign in to comment.