From 5e04cb3299cc64a7498bcc4f5d24a2cabd6c02ea Mon Sep 17 00:00:00 2001 From: Janghyuck Kim Date: Mon, 21 May 2018 18:54:17 +0900 Subject: [PATCH] [COMMON] media: scaler: fix config value for S10B Change-Id: I3c62349eb1dac8da032e34f64e7fe897cee9f13d Signed-off-by: Janghyuck Kim --- drivers/media/platform/exynos/scaler/scaler-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/scaler/scaler-core.c b/drivers/media/platform/exynos/scaler/scaler-core.c index 9766bd3ebb92..80a9bb711b85 100644 --- a/drivers/media/platform/exynos/scaler/scaler-core.c +++ b/drivers/media/platform/exynos/scaler/scaler-core.c @@ -250,7 +250,8 @@ static const struct sc_fmt sc_formats[] = { }, { .name = "YUV 4:2:0 contiguous Y/CbCr 10-bit", .pixelformat = V4L2_PIX_FMT_NV12N_10B, - .cfg_val = SCALER_CFG_FMT_YCBCR420_2P, + .cfg_val = SCALER_CFG_FMT_YCBCR420_2P | + SCALER_CFG_10BIT_S10, .bitperpixel = { 15 }, .num_planes = 1, .num_comp = 2, -- 2.20.1