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: upstream/snapshot3+hdmi~35810^2~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7488ce38121fc92aee847c51ac74dced1d48c3a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 2f09e79..0679b38 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,