rk fb: fix 10 bit yuv video play err
authorzwl <zwl@rock-chips.com>
Fri, 6 Jun 2014 09:57:21 +0000 (17:57 +0800)
committerzwl <zwl@rock-chips.com>
Fri, 6 Jun 2014 09:57:36 +0000 (17:57 +0800)
drivers/video/rockchip/rk_fb.c

index f6f7099858ea3f8e1631e061509984577a19b249..80350c1e08e8997483a2da4a0c32cacf5c3f9e86 100755 (executable)
@@ -147,7 +147,7 @@ int rk_fb_pixel_width(int data_format)
        case YUV422_A:
        case YUV420_A:
        case YUV444_A:
-               pixel_width = 10;
+               pixel_width = 8;
                break;
        default:
                printk(KERN_WARNING "%s:un supported format:0x%x\n",