[COMMON] media: scaler: fix config value for S10B
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Mon, 21 May 2018 09:54:17 +0000 (18:54 +0900)
committerJanghyuck Kim <janghyuck.kim@samsung.com>
Mon, 23 Jul 2018 05:39:43 +0000 (14:39 +0900)
Change-Id: I3c62349eb1dac8da032e34f64e7fe897cee9f13d
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/media/platform/exynos/scaler/scaler-core.c

index 9766bd3ebb926f9ef62a9c5d2423db4059a8c995..80a9bb711b855fda045af83b233bca5f018a2222 100644 (file)
@@ -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,