[COMMON] media: mfc: DRV4.0: encapsulate mfc_ctx_ready()
authorSunyoung Kang <sy0816.kang@samsung.com>
Mon, 2 Jul 2018 06:53:37 +0000 (15:53 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:18:54 +0000 (15:18 +0900)
commitc8cd4c1cf2b6fd125bd78d0ff461703aa00634e1
treeb923437bae7583b36813d4e06906c899a48709eb
parent742bf2aafddf3f1d3badc4dfdd54ef52b62ed3bc
[COMMON] media: mfc: DRV4.0: encapsulate mfc_ctx_ready()

The mfc_ctx_ready() calls mfc_dec_ctx_ready() or mfc_enc_ctx_ready()
according to ctx->type. This changes mfc_dec/enc_ctx_ready() to static
and caller uses only mfc_ctx_ready().

Change-Id: Ica665363a32316a72e9f385f2f884ac68a5ab5e9
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
drivers/media/platform/exynos/mfc/mfc_dec_v4l2.c
drivers/media/platform/exynos/mfc/mfc_dec_vb2.c
drivers/media/platform/exynos/mfc/mfc_enc_v4l2.c
drivers/media/platform/exynos/mfc/mfc_enc_vb2.c
drivers/media/platform/exynos/mfc/mfc_sync.c
drivers/media/platform/exynos/mfc/mfc_sync.h