media: mfc: initialize reserved2 after EOS
authorJeonghee Kim <jhhhh.kim@samsung.com>
Fri, 2 Feb 2018 07:17:11 +0000 (16:17 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Tue, 29 May 2018 06:59:18 +0000 (15:59 +0900)
Change-Id: I39f9df83fbb23748222d6c94b42c74ef64cfb7f7
Signed-off-by: Jeonghee Kim <jhhhh.kim@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_irq.c

index 1d9f4bde8d417405031ca6e9089fac46959b2efa..b47dd749c3a44f3e582821ffaab09164055db09a 100644 (file)
@@ -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);