From: Jeonghee Kim Date: Fri, 2 Feb 2018 07:17:11 +0000 (+0900) Subject: media: mfc: initialize reserved2 after EOS X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2d3366e2e94c7f1ffd7bd6f6101f91f92d2d5387;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git media: mfc: initialize reserved2 after EOS Change-Id: I39f9df83fbb23748222d6c94b42c74ef64cfb7f7 Signed-off-by: Jeonghee Kim --- 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);