[media] s5p-fimc: Fix YUV422P depth
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 25 Mar 2014 20:50:11 +0000 (17:50 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 15 Apr 2014 12:50:06 +0000 (09:50 -0300)
All YUV 422 has 16bit per pixels.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/exynos4-is/fimc-core.c

index da2fc86..25dbf5b 100644 (file)
@@ -122,7 +122,7 @@ static struct fimc_fmt fimc_formats[] = {
        }, {
                .name           = "YUV 4:2:2 planar, Y/Cb/Cr",
                .fourcc         = V4L2_PIX_FMT_YUV422P,
-               .depth          = { 12 },
+               .depth          = { 16 },
                .color          = FIMC_FMT_YCBYCR422,
                .memplanes      = 1,
                .colplanes      = 3,