]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f07b66a48d44841ecde96c26eaaac8eef45be80
treee2ec91df0cae6cc69333bb425280c26ef0723506
parent0241a3a07cb94f25ae6faf22a085fce9b1804e3f
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