From b8663c230902bb43a315d578aa19b3fae7397e3f Mon Sep 17 00:00:00 2001 From: Jeonghee Kim Date: Fri, 2 Feb 2018 16:17:11 +0900 Subject: [PATCH] media: mfc: initialize reserved2 after EOS Change-Id: I39f9df83fbb23748222d6c94b42c74ef64cfb7f7 Signed-off-by: Jeonghee Kim --- drivers/media/platform/exynos/mfc/s5p_mfc_irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/exynos/mfc/s5p_mfc_irq.c b/drivers/media/platform/exynos/mfc/s5p_mfc_irq.c index 1d9f4bde8d41..b47dd749c3a4 100644 --- a/drivers/media/platform/exynos/mfc/s5p_mfc_irq.c +++ b/drivers/media/platform/exynos/mfc/s5p_mfc_irq.c @@ -121,6 +121,7 @@ static void mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) dst_mb->vb.sequence = (ctx->sequence++); dst_mb->vb.field = mfc_handle_frame_field(ctx); + dst_mb->vb.reserved2 = 0; clear_bit(dst_mb->vb.vb2_buf.index, &dec->available_dpb); -- 2.20.1