Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54943
b: refs/heads/master
c: 4941cb7
h: refs/heads/master
i:
  54941: c5181cb
  54939: a4b148c
  54935: 52378e8
  54927: 62ba6e2
  54911: 938cea0
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed May 8, 2007
1 parent 5a173df commit e22d4b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 38b4982c6388ae9596f959e3d7fef91affbd181d
refs/heads/master: 4941cb7a18fd84d4d8cd097d2beada3c79c8f781
4 changes: 3 additions & 1 deletion trunk/drivers/video/fbmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,8 @@ fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var)

if ((var->activate & FB_ACTIVATE_FORCE) ||
memcmp(&info->var, var, sizeof(struct fb_var_screeninfo))) {
u32 activate = var->activate;

if (!info->fbops->fb_check_var) {
*var = info->var;
return 0;
Expand Down Expand Up @@ -831,7 +833,7 @@ fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var)

if (!err && (flags & FBINFO_MISC_USEREVENT)) {
struct fb_event event;
int evnt = (var->activate & FB_ACTIVATE_ALL) ?
int evnt = (activate & FB_ACTIVATE_ALL) ?
FB_EVENT_MODE_CHANGE_ALL :
FB_EVENT_MODE_CHANGE;

Expand Down

0 comments on commit e22d4b7

Please sign in to comment.