Skip to contentSkip to conversation

5: 2.5.29-matrox

PATCH In review Russell King 2 participants 2 messages Aug 3, 2002 – Aug 6, 2002 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 5: 2.5.29-matrox

This patch has been verified to apply cleanly to 2.5.30

Obvious bug descovered by Dirk Uffmann, patch ARM Linux patch system, id 1129/1.

Dirk says:

Patch already discussed with Petr Vandrovec. Gave his o.k. to it.

 drivers/video/matrox/matroxfb_misc.c |    2 +-
 1 files changed, 1 insertion, 1 deletion
drivers/video/matrox/matroxfb_misc.c +1 -1
diff -urN orig/drivers/video/matrox/matroxfb_misc.c linux/drivers/video/matrox/matroxfb_misc.c
@@ -872,7 +872,7 @@
 	mult = bd->pins[4]?8000:6000;
 	
 	MINFO->limits.pixel.vcomax	= (bd->pins[ 38] == 0xFF) ? 600000			: bd->pins[ 38] * mult;
-	MINFO->limits.system.vcomax	= (bd->pins[ 36] == 0xFF) ? MINFO->limits.pixel.vcomax	: bd->pins[ 39] * mult;
+	MINFO->limits.system.vcomax	= (bd->pins[ 36] == 0xFF) ? MINFO->limits.pixel.vcomax	: bd->pins[ 36] * mult;
 	MINFO->limits.video.vcomax	= (bd->pins[ 37] == 0xFF) ? MINFO->limits.system.vcomax	: bd->pins[ 37] * mult;
 	MINFO->limits.pixel.vcomin	= (bd->pins[123] == 0xFF) ? 256000			: bd->pins[123] * mult;
 	MINFO->limits.system.vcomin	= (bd->pins[121] == 0xFF) ? MINFO->limits.pixel.vcomin	: bd->pins[121] * mult;
#1 lore raw
Quoted 11 lines

This patch has been verified to apply cleanly to
2.5.30

Obvious bug descovered by Dirk Uffmann, patch ARM
Linux patch system, id 1129/1.

Dirk says:

Patch already discussed with Petr Vandrovec. Gave
his o.k. to it.

Added to fbdev BK. Will be pushing soon.

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com