From: Nicolas Dufresne Date: Tue, 25 Mar 2014 20:50:11 +0000 (-0300) Subject: [media] s5p-fimc: Fix YUV422P depth X-Git-Tag: v5.15~17577^2~307 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3fadbdf1cbac7164aaefae5fb331cba86255c46;p=platform%2Fkernel%2Flinux-starfive.git [media] s5p-fimc: Fix YUV422P depth All YUV 422 has 16bit per pixels. Signed-off-by: Nicolas Dufresne Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/exynos4-is/fimc-core.c b/drivers/media/platform/exynos4-is/fimc-core.c index da2fc86..25dbf5b 100644 --- a/drivers/media/platform/exynos4-is/fimc-core.c +++ b/drivers/media/platform/exynos4-is/fimc-core.c @@ -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,