From: Maciej W. Rozycki Date: Mon, 12 Feb 2007 08:54:55 +0000 (-0800) Subject: [PATCH] tgafb: fix the mode register setting X-Git-Tag: v2.6.21-rc1~274^2~42 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7488ce38121fc92aee847c51ac74dced1d48c3a;p=linux-2.6 [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 Cc: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/tgafb.c b/drivers/video/tgafb.c index 2f09e796ba..0679b389a8 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,