diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2010-07-29 22:40:54 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-31 00:29:33 +0200 |
commit | e76df4d33973bd9b963d0cce05749b090cc14936 (patch) | |
tree | f36fb45132f66f44a52446d9113fcbcdcfd57c05 /drivers | |
parent | cyber2000fb: fix machine hang on module load (diff) | |
download | linux-e76df4d33973bd9b963d0cce05749b090cc14936.tar.xz linux-e76df4d33973bd9b963d0cce05749b090cc14936.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/video/cyber2000fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/cyber2000fb.c b/drivers/video/cyber2000fb.c index 3eee8296513c..0c1afd13ddd3 100644 --- a/drivers/video/cyber2000fb.c +++ b/drivers/video/cyber2000fb.c @@ -388,6 +388,7 @@ cyber2000fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, pseudo_val |= convert_bitfield(red, &var->red); pseudo_val |= convert_bitfield(green, &var->green); pseudo_val |= convert_bitfield(blue, &var->blue); + ret = 0; break; } |