mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[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 <[email protected]> Acked-by: Ralph Siemsen <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
a8fa9ba623
commit
c2ec21c5c8
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue