@@ -1555,9 +1555,6 @@ static irqreturn_t jpu_irq_handler(int irq, void *dev_id)
dst_buf->v4l2_buf.timestamp = src_buf->v4l2_buf.timestamp;
if (src_buf->v4l2_buf.flags & V4L2_BUF_FLAG_TIMECODE)
dst_buf->v4l2_buf.timecode = src_buf->v4l2_buf.timecode;
- dst_buf->v4l2_buf.flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK;
- dst_buf->v4l2_buf.flags |= src_buf->v4l2_buf.flags &
- V4L2_BUF_FLAG_TSTAMP_SRC_MASK;
dst_buf->v4l2_buf.flags = src_buf->v4l2_buf.flags &
(V4L2_BUF_FLAG_TIMECODE | V4L2_BUF_FLAG_KEYFRAME |
V4L2_BUF_FLAG_PFRAME | V4L2_BUF_FLAG_BFRAME |
Remove redundant code. Following code line do what we want. Signed-off-by: Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com> --- drivers/media/platform/rcar_jpu.c | 3 --- 1 file changed, 3 deletions(-)