aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/tgafb.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2007-02-12 03:54:55 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 12:48:41 -0500
commitc7488ce38121fc92aee847c51ac74dced1d48c3a (patch)
tree54600161517b3b00c9337954c1f0e827831a21e2 /drivers/video/tgafb.c
parentbe6011831c74d5db251b5f9746d259a5f59e71cf (diff)
[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>
Diffstat (limited to 'drivers/video/tgafb.c')
-rw-r--r--drivers/video/tgafb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/tgafb.c b/drivers/video/tgafb.c
index 2f09e796bafb..0679b389a808 100644
--- a/drivers/video/tgafb.c
+++ b/drivers/video/tgafb.c
@@ -143,10 +143,10 @@ tgafb_set_par(struct fb_info *info)
143 0x00000303 143 0x00000303
144 }; 144 };
145 static unsigned int const mode_presets[4] = { 145 static unsigned int const mode_presets[4] = {
146 0x00002000, 146 0x00000000,
147 0x00002300, 147 0x00000300,
148 0xffffffff, 148 0xffffffff,
149 0x00002300 149 0x00000300
150 }; 150 };
151 static unsigned int const base_addr_presets[4] = { 151 static unsigned int const base_addr_presets[4] = {
152 0x00000000, 152 0x00000000,