From d677d2c6ef6e4a2ff31f1b84a3058e575692ed53 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 7 Mar 2014 14:18:53 +0300 Subject: [PATCH] sisfb: fix 1280x720 resolution support It uses the wrong mode index because there is no break statement. Signed-off-by: Dan Carpenter Signed-off-by: Tomi Valkeinen --- drivers/video/sis/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/sis/init.c b/drivers/video/sis/init.c index 4f26bc28e60b..bd40f5ecd901 100644 --- a/drivers/video/sis/init.c +++ b/drivers/video/sis/init.c @@ -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]; -- 2.20.1