]> err.no Git - linux-2.6/commit
[PATCH] fbcon: Initialize new driver when old driver is released
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 7 Nov 2005 09:00:38 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:51 +0000 (07:53 -0800)
commitdd0314f7bb407bc4bdb3ea769b9c8a3a5d39ffd7
tree474e589f2d9022f8ce63993e19069da273033e55
parent3084a895c2a963cb9b32271061c832977ff7293c
[PATCH] fbcon: Initialize new driver when old driver is released

If machine has more than 1 driver installed, and they all drive the same
hardware, it's possible that the driver's fb_release() method will attempt to
restore the hardware state to the initial state.  This will leave the new
driver in an undefined state.  To prevent this problem, initialize the new
driver by calling fb_set_par() when the old driver is released by fbcon.

Signed-off-by: Antonino Daplas<adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/console/fbcon.c