]> err.no Git - linux-2.6/commitdiff
[ARM] 4645/1: Cyberpro: Trivial fix to restore 16bpp mode.
authorJan Rinze <janrinze@home.nl>
Thu, 8 Nov 2007 20:51:05 +0000 (21:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Nov 2007 23:29:36 +0000 (23:29 +0000)
Cyberpro: when user requests 16bpp, use it and not 24bpp.
There was a missing break causing requests for 16bpp mode
to end up in 24bpp mode.

Signed-off-by: Jan Rinze Peterzon <janrinze@home.nl>
Acked-by: Ralph Siemsen <ralphs@netwinder.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/cyber2000fb.c

index 5fb8675e0d6b9278a3c31b9ec732cd3c918578db..d0e4cb618269b7c44c5c920def6e3bbc49e807f6 100644 (file)
@@ -874,6 +874,8 @@ static int cyber2000fb_set_par(struct fb_info *info)
                default:
                        BUG();
                }
+               break;
+
        case 24:/* TRUECOLOUR, 16m */
                hw.co_pixfmt            = CO_PIXFMT_24BPP;
                hw.width                *= 3;