sisfb: fix 1280x720 resolution support
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 7 Mar 2014 11:18:53 +0000 (14:18 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Mar 2014 12:19:55 +0000 (14:19 +0200)
It uses the wrong mode index because there is no break statement.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/sis/init.c

index 4f26bc28e60b9646d60389ba3e215111583d91f4..bd40f5ecd901f47f451ca7fd9895a56de7c614eb 100644 (file)
@@ -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];