[RAMEN9610-10029][COMMON] media: mfc: fix wrong mem type check
authorAyoung Sim <a.sim@samsung.com>
Mon, 17 Sep 2018 06:46:44 +0000 (15:46 +0900)
committerhskang <hs1218.kang@samsung.com>
Fri, 28 Dec 2018 09:53:51 +0000 (18:53 +0900)
commita77c63a33cba8ecaeb782533892883e9bbfd1b62
tree6a999b0e5fbd7baa43f299e4af58f20b7e851514
parenta9431608f8e7d7c4cb9923a232fcc2cfcefff82f
[RAMEN9610-10029][COMMON] media: mfc: fix wrong mem type check

When an error occures during header parsing,
the driver dumps the header stream.
In order to print the header stream, driver should get the KVA
when only the memory type of source buffer is DMA_BUF type.
This patch fixs this type condition.

Change-Id: I557bef77b54aae266e6d75e76814c506239d4260
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
drivers/media/platform/exynos/mfc/mfc_data_struct.h
drivers/media/platform/exynos/mfc/mfc_dec_v4l2.c
drivers/media/platform/exynos/mfc/mfc_dec_vb2.c
drivers/media/platform/exynos/mfc/mfc_isr.c