cyber2000fb: fix console in truecolor modes
authorOndrej Zary <linux@rainbow-software.org>
Thu, 29 Jul 2010 20:40:54 +0000 (22:40 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 30 Jul 2010 22:29:33 +0000 (23:29 +0100)
commite76df4d33973bd9b963d0cce05749b090cc14936
treef36fb45132f66f44a52446d9113fcbcdcfd57c05
parent00b4703f03ce04bd7f2f912fd05a243096ab826f
cyber2000fb: fix console in truecolor modes

Return value was not set to 0 in setcolreg() with truecolor modes. This causes
fb_set_cmap() to abort after first color, resulting in blank palette - and
blank console in 24bpp and 32bpp modes.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/cyber2000fb.c