From 71d44331562bd2dfb964dcfaad40c510f7894f37 Mon Sep 17 00:00:00 2001 From: yxj Date: Mon, 26 Mar 2012 11:28:58 +0800 Subject: [PATCH] rk30 fb: use HAL_PIXEL_FORMAT_XXX defined by android to distinguish data format to display correctly,please sync android update --- drivers/video/rockchip/rk_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index c03ce4b202a7..4e5db0f33b41 100644 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -399,7 +399,7 @@ static int rk_fb_set_par(struct fb_info *info) } CHK_SUSPEND(inf); /* calculate y_offset,c_offset,line_length,cblen and crlen */ -#if 0 +#if 1 switch (data_format) { case HAL_PIXEL_FORMAT_RGBA_8888 : // rgb -- 2.34.1