diff options
author | Jan Rinze <janrinze@home.nl> | 2007-11-08 15:51:05 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-11-08 18:29:36 -0500 |
commit | c2ec21c5c8f15c079c209f403d582f3134785060 (patch) | |
tree | 9f006e98245d5e156527acfd5c00a24eec2c82c6 /drivers | |
parent | a8fa9ba623122a51efe6c9ef8fe7412c91582d48 (diff) |
[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 <janrinze@home.nl>
Acked-by: Ralph Siemsen <ralphs@netwinder.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/cyber2000fb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/cyber2000fb.c b/drivers/video/cyber2000fb.c index 5fb8675e0d6b..d0e4cb618269 100644 --- a/drivers/video/cyber2000fb.c +++ b/drivers/video/cyber2000fb.c | |||
@@ -874,6 +874,8 @@ static int cyber2000fb_set_par(struct fb_info *info) | |||
874 | default: | 874 | default: |
875 | BUG(); | 875 | BUG(); |
876 | } | 876 | } |
877 | break; | ||
878 | |||
877 | case 24:/* TRUECOLOUR, 16m */ | 879 | case 24:/* TRUECOLOUR, 16m */ |
878 | hw.co_pixfmt = CO_PIXFMT_24BPP; | 880 | hw.co_pixfmt = CO_PIXFMT_24BPP; |
879 | hw.width *= 3; | 881 | hw.width *= 3; |