Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9997
b: refs/heads/master
c: bb7e257
h: refs/heads/master
i:
  9995: 7c329f1
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Oct 18, 2005
1 parent 469d736 commit 8c466d0
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: d846a92e4ec26112fbe41c4e45ddd9119cd74cda
refs/heads/master: bb7e257ef8d8ba43cab356aa1cc1b20d0106d45f
6 changes: 3 additions & 3 deletions trunk/drivers/video/vesafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ static int vesafb_blank(int blank, struct fb_info *info)
int loop = 10000;
u8 seq = 0, crtc17 = 0;

err = 0;

if (blank) {
if (blank == FB_BLANK_POWERDOWN) {
seq = 0x20;
crtc17 = 0x00;
err = 0;
} else {
seq = 0x00;
crtc17 = 0x80;
err = (blank == FB_BLANK_UNBLANK) ? 0 : -EINVAL;
}

vga_wseq(NULL, 0x00, 0x01);
Expand Down

0 comments on commit 8c466d0

Please sign in to comment.