[COMMON] media: smfc: fix missing vertical subasampling check
authorCho KyongHo <pullip.cho@samsung.com>
Thu, 5 Jan 2017 13:40:30 +0000 (22:40 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:31:21 +0000 (14:31 +0900)
commit5a38b60f969b3474beb001aa70db753a29437ea8
tree6fbac780297efd05d16e36b3c8b955b1005aa9d6
parent6b05f0015ae9ff069bd88c808d717ebe75543cba
[COMMON] media: smfc: fix missing vertical subasampling check

HWJPEG is unable to handle YUV410. Therefore, the driver should check
if both of the horizontal and vertical chroma subsampling factor is 4.
However, the driver checked horizontal factor instead of vertical
factor.

SVACE WGID 2521

Change-Id: I187ff5e4d0c3ff9cf1efdd97b86b7e09c4754af0
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/platform/exynos/smfc/smfc-stream-parser.c