aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/platform/ti-vpe/vpe.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c
index b64f29a54891..5c421886d97c 100644
--- a/drivers/media/platform/ti-vpe/vpe.c
+++ b/drivers/media/platform/ti-vpe/vpe.c
@@ -1280,13 +1280,12 @@ static irqreturn_t vpe_irq(int irq_vpe, void *data)
1280 s_buf = &s_vb->v4l2_buf; 1280 s_buf = &s_vb->v4l2_buf;
1281 d_buf = &d_vb->v4l2_buf; 1281 d_buf = &d_vb->v4l2_buf;
1282 1282
1283 d_buf->flags = s_buf->flags;
1284
1283 d_buf->timestamp = s_buf->timestamp; 1285 d_buf->timestamp = s_buf->timestamp;
1284 d_buf->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; 1286 if (s_buf->flags & V4L2_BUF_FLAG_TIMECODE)
1285 d_buf->flags |= s_buf->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK;
1286 if (s_buf->flags & V4L2_BUF_FLAG_TIMECODE) {
1287 d_buf->flags |= V4L2_BUF_FLAG_TIMECODE;
1288 d_buf->timecode = s_buf->timecode; 1287 d_buf->timecode = s_buf->timecode;
1289 } 1288
1290 d_buf->sequence = ctx->sequence; 1289 d_buf->sequence = ctx->sequence;
1291 1290
1292 d_q_data = &ctx->q_data[Q_DATA_DST]; 1291 d_q_data = &ctx->q_data[Q_DATA_DST];