[COMMON] media: smfc: fix doubling number of planes
authorCho KyongHo <pullip.cho@samsung.com>
Fri, 15 May 2015 10:57:08 +0000 (19:57 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:31:00 +0000 (14:31 +0900)
commitef88f1a07c655a3d396975c89a19f5cae2e48617
treedc20b67384f64954c70c4e0f4288fc164d9c22ae
parente89ce4c870570a6e7c9163f947aa70c7e3f532bd
[COMMON] media: smfc: fix doubling number of planes

Doubling the number of planes in s_fmt() handler considers that the
number of buffers should be doubled the number of planes when back-
to-back compression is enabled. But it is implicitly configued during
qbuf(). Userspace qbufs double number of buffers than the number of
planes.

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