diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2007-02-12 00:54:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 09:48:41 -0800 |
commit | c7488ce38121fc92aee847c51ac74dced1d48c3a (patch) | |
tree | 54600161517b3b00c9337954c1f0e827831a21e2 /drivers | |
parent | be6011831c74d5db251b5f9746d259a5f59e71cf (diff) | |
download | linux-stable-c7488ce38121fc92aee847c51ac74dced1d48c3a.tar.gz linux-stable-c7488ce38121fc92aee847c51ac74dced1d48c3a.tar.bz2 linux-stable-c7488ce38121fc92aee847c51ac74dced1d48c3a.zip |
[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')
-rw-r--r-- | drivers/video/tgafb.c | 6 |
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) 0x00000303 }; static unsigned int const mode_presets[4] = { - 0x00002000, - 0x00002300, + 0x00000000, + 0x00000300, 0xffffffff, - 0x00002300 + 0x00000300 }; static unsigned int const base_addr_presets[4] = { 0x00000000, |