savagefb: fix blanking mode on CRT display
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Wed, 11 Nov 2009 22:26:25 +0000 (14:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Nov 2009 15:25:56 +0000 (07:25 -0800)
commitb9f9d4706cb1b706f89f98ea6ead41ebecdefbc2
tree623360884ab187fb0d13447d7bfe78b49d198458
parentf5c15d0b37ab1cd3969b8ce7828ab41c79f36f77
savagefb: fix blanking mode on CRT display

Fix wrong bit mask for blanking register.  Due to the error a CRT monitor
blanks off due to wrong frequency (out of range) instead of PM signal
(vertical and horizontal frequencies cut off).

Just compare the mask with bits set in the switch(blank) clause below the
changed line.

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/savage/savagefb_driver.c