[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:18 +0000 (20:22 +0300)
commit11eae4bc028bbfee1163dc3caadbee1a117fb9d5
tree7ecb5f13f7be8da25b3b3c35ea271c2dd2173d6c
parent822a86fc70ad947990bf2b610a07928dd0bae794
[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