Skip to content

Commit

Permalink
[PATCH] tgafb: fix the mode register setting
Browse files Browse the repository at this point in the history
There is no need to set the GE bit (Win32 compatibility) in the mode register;
it shall get cleared with the next subsequent update to the register anyway.

Signed-off-by: Maciej W. Rozycki <[email protected]>
Cc: James Simmons <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Maciej W. Rozycki authored and Linus Torvalds committed Feb 12, 2007
1 parent be60118 commit c7488ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/video/tgafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ tgafb_set_par(struct fb_info *info)
0x00000303
};
static unsigned int const mode_presets[4] = {
0x00002000,
0x00002300,
0x00000000,
0x00000300,
0xffffffff,
0x00002300
0x00000300
};
static unsigned int const base_addr_presets[4] = {
0x00000000,
Expand Down

0 comments on commit c7488ce

Please sign in to comment.