]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit342dd5a1a8882a1a56ae5696bdf3ef0f4ff86907
tree623360884ab187fb0d13447d7bfe78b49d198458
parentf1b239a5eea08d1ef6928fb44a4c28af50e71f19
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