viafb: initialize margins correct
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 21 Mar 2011 17:01:07 +0000 (17:01 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 21 Mar 2011 17:01:07 +0000 (17:01 +0000)
commit3f086fe93f734ba76f2e130777687f81e0cbb318
treee2ec91df0cae6cc69333bb425280c26ef0723506
parent726abbc7957a2feeaf6f5e3d72579b3fd0211134
viafb: initialize margins correct

This patch initializes the margins for the initial mode correct.
This is required to get the desired initial refresh rate. Also do
more verbose sanity checking to prevent misbehavior.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/via/viafbdev.c