Skip to contentSkip to conversation

sisfb: fix 1280x720 resolution support

PATCH New Dan Carpenter 1 participant 1 message Jan 11, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sisfb: fix 1280x720 resolution support

It uses the wrong mode index because there is no break statement.

---
Static checker fix. Untested.

drivers/video/sis/init.c +1 -0
index f082ae5..0b71c53 100644
@@ -651,6 +651,7 @@ SiS_GetModeID_LCD(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDispla
 	     switch(VDisplay) {
 	     case 720:
 		ModeIndex = ModeIndex_1280x720[Depth];
+		break;
 	     case 768:
 		if(VGAEngine = SIS_300_VGA) {
 		   ModeIndex = ModeIndex_300_1280x768[Depth];