[COMMON] media: mfc: fix the plane number check.
authorJeonghee Kim <jhhhh.kim@samsung.com>
Mon, 28 May 2018 11:56:17 +0000 (20:56 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Tue, 29 May 2018 06:59:18 +0000 (15:59 +0900)
commitfe8c2b190a1856d5e8e8aea7eb553268a080ba42
tree0b31a93a75feb331397cb45e9191d6f8be071fe9
parent212878d9c6768b1d113b701165b46d57f1ea145c
[COMMON] media: mfc: fix the plane number check.

In the DRM encoder scenario, a dma_buf with null value was used.
get_dmabuf should be called according to the number of fds,
not the number of planes.

Change-Id: Ia7eb1c2eb1b57712b2376d82fec78de8d3418d07
Signed-off-by: Jeonghee Kim <jhhhh.kim@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_enc_vb2_ops.c