modedb: fix incorrect sync and vmode flags for CVT modes
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Fri, 6 Jun 2008 05:45:56 +0000 (22:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2008 18:29:09 +0000 (11:29 -0700)
commite2d4ecafd24d6eee4ae6bdbede0cfd0e78423a33
tree156d2e0df8b8888dff9e7f885c40f4cc338d1626
parentb8c141e8fd80fa64d80c6a74492053f25a28e0ea
modedb: fix incorrect sync and vmode flags for CVT modes

The temporary structure for calculated CVT mode is not initialized.  Few
fields have only bits or-ed or and-ed so they may be left in incorrect
(random) state.

Testing of the tridentfb seems like a good exercise for the fbdev layer.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/modedb.c