viafb: do modesetting after updating variables
authorErik-Jan Post <ej.lfs@xs4all.nl>
Sat, 16 Jan 2010 01:01:05 +0000 (17:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Jan 2010 20:15:37 +0000 (12:15 -0800)
commit8a3a95c32f612068be8dae74fa5fc4cf2db1592e
tree4470c3e0068651b2dd0830310437a8ef2722b5ba
parent0b94190e1e60f96962b82d35729d7d44cf298ef8
viafb: do modesetting after updating variables

Reorder viafb_set_par to allow using the updated variables in
viafb_setmode.  This fixes a regression that prevented proper runtime mode
changes.

Signed-off-by: Erik-Jan Post <ej.lfs@xs4all.nl>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Cc: Joseph Chan <JosephChan@via.com.tw>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/via/viafbdev.c