[PATCH 2/3] imx-ipu-fb: set default bits per pixel at 16 for mx3

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Sep 24 07:01:17 EDT 2010


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 drivers/video/imx-ipu-fb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/video/imx-ipu-fb.c b/drivers/video/imx-ipu-fb.c
index f6ac26f..94b99f2 100644
--- a/drivers/video/imx-ipu-fb.c
+++ b/drivers/video/imx-ipu-fb.c
@@ -748,6 +748,7 @@ static int mx3fb_set_par(struct fb_info *info)
 		rgb = &def_rgb_24;
 		break;
 	case 16:
+	default:
 		rgb = &def_rgb_16;
 		break;
 	}
-- 
1.7.1




More information about the barebox mailing list