Commit c2ec21c5 authored by Jan Rinze's avatar Jan Rinze Committed by Russell King

[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: default avatarJan Rinze Peterzon <janrinze@home.nl>
Acked-by: default avatarRalph Siemsen <ralphs@netwinder.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent a8fa9ba6
...@@ -874,6 +874,8 @@ static int cyber2000fb_set_par(struct fb_info *info) ...@@ -874,6 +874,8 @@ static int cyber2000fb_set_par(struct fb_info *info)
default: default:
BUG(); BUG();
} }
break;
case 24:/* TRUECOLOUR, 16m */ case 24:/* TRUECOLOUR, 16m */
hw.co_pixfmt = CO_PIXFMT_24BPP; hw.co_pixfmt = CO_PIXFMT_24BPP;
hw.width *= 3; hw.width *= 3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment