rk30 fb: use HAL_PIXEL_FORMAT_XXX defined by android to distinguish data format
authoryxj <yxj@I7-CH.(none)>
Mon, 26 Mar 2012 03:28:58 +0000 (11:28 +0800)
committeryxj <yxj@I7-CH.(none)>
Mon, 26 Mar 2012 03:31:02 +0000 (11:31 +0800)
 to display correctly,please sync android update

drivers/video/rockchip/rk_fb.c

index c03ce4b202a761c497bd8c0124835c442680874b..4e5db0f33b4182849a358c3b8e5949ddaa112b84 100644 (file)
@@ -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