From: Jan Rinze Date: Thu, 8 Nov 2007 20:51:05 +0000 (+0100) Subject: [ARM] 4645/1: Cyberpro: Trivial fix to restore 16bpp mode. X-Git-Tag: v2.6.24-rc3~172^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2ec21c5c8f15c079c209f403d582f3134785060;p=linux-2.6 [ARM] 4645/1: Cyberpro: Trivial fix to restore 16bpp mode. 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 Acked-by: Ralph Siemsen Signed-off-by: Russell King --- diff --git a/drivers/video/cyber2000fb.c b/drivers/video/cyber2000fb.c index 5fb8675e0d..d0e4cb6182 100644 --- a/drivers/video/cyber2000fb.c +++ b/drivers/video/cyber2000fb.c @@ -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;