[PATCH] tgafb: fix the mode register setting

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 <macro@linux-mips.org>
Cc: James Simmons <jsimmons@infradead.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Maciej W. Rozycki 2007-02-12 00:54:55 -08:00 committed by Linus Torvalds
parent be6011831c
commit c7488ce381

View file

@ -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,