staging: xgifb: delete bogus video RAM configuration
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 12 Sep 2012 21:45:43 +0000 (00:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 03:41:57 +0000 (20:41 -0700)
commitd42bb0fbd93582adee0f404b1b82af809e9c0483
treea1687c80f9bd275ee82c74669478cab1bde963ba
parent98f4eade14b4bb077304ca16a1be45ec9c72b381
staging: xgifb: delete bogus video RAM configuration

The driver reconfigures DRAM size register to 8M (regardless what the
actual size was) once the init has been completed, overwriting the
correct value written during the early init. As a result if the driver
is unloaded and reloaded, the user will be limited to 8M video memory
and may lose some of the available video modes.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_init.c