diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-03-07 14:18:53 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-03-07 14:19:55 +0200 |
commit | d677d2c6ef6e4a2ff31f1b84a3058e575692ed53 (patch) | |
tree | 880721f8bf4f0aaf63f3f0d92161aafc89e26e0f /drivers/video/sis | |
parent | 92559977ddf13748fc4a07ac0a2dfa1ff5132cac (diff) |
sisfb: fix 1280x720 resolution support
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>
Diffstat (limited to 'drivers/video/sis')
-rw-r--r-- | drivers/video/sis/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |