sm501fb: fix timing limits
authorVille Syrjala <syrjala@sci.fi>
Tue, 4 Mar 2008 22:28:49 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:13 +0000 (16:35 -0800)
commit7e533705bd973267c488f8c3a7c7246ecad3a414
tree09afdadc6955aa10c226962f0d6607fb35c83124
parent19d06eff4e0d77fc1a15c92f845f1916e2d10dd0
sm501fb: fix timing limits

Vertical sync height register can only hold 6 bits.  Fix the hsync start test
to use > instead of >=.  Also add a few clarifying comments.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/sm501fb.c