[PATCH 2/5] s5p-fimc: Fix YUV422P depth

2014-03-25 Thread Nicolas Dufresne
All YUV 422 has 16bit per pixels.

Signed-off-by: Nicolas Dufresne nicolas.dufre...@collabora.com
---
 drivers/media/platform/exynos4-is/fimc-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/exynos4-is/fimc-core.c
b/drivers/media/platform/exynos4-is/fimc-core.c
index bfb80fb..2e70fab 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,
-- 
1.8.5.3




signature.asc
Description: This is a digitally signed message part


[PATCH 2/5] s5p-fimc: Fix YUV422P depth

2014-03-25 Thread Nicolas Dufresne
All YUV 422 has 16bit per pixels.

Signed-off-by: Nicolas Dufresne nicolas.dufre...@collabora.com
---
 drivers/media/platform/exynos4-is/fimc-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/exynos4-is/fimc-core.c 
b/drivers/media/platform/exynos4-is/fimc-core.c
index bfb80fb..2e70fab 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,
-- 
1.8.5.3




signature.asc
Description: This is a digitally signed message part