]> err.no Git - linux-2.6/commit
fbcon: fix wrong vmode bits copied on console switch
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Fri, 6 Jun 2008 05:46:33 +0000 (22:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2008 18:29:11 +0000 (11:29 -0700)
commit10732c35dff6c2e15e413e7806a7114a2faa0ecf
tree1c20e99e6918fc0c4b9202b3d9dc1309139c75a5
parentdba6a4d32d8677c99e73798d3375417f8a6d46de
fbcon: fix wrong vmode bits copied on console switch

The interlaced and double line mode bits should not be copied to new
console when the console is switched.  Otherwise, the new console may be
set to incorrect refresh rate.

Also, the x and y offsets does not need to be copied.

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/console/fbcon.c