Merge tag 'v3.14.25' into backport/v3.14.24-ltsi-rc1+v3.14.25/snapshot-merge.wip
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / media / platform / davinci / vpif_display.c
index 9d115cd..68ab419 100644 (file)
@@ -234,13 +234,7 @@ static int vpif_start_streaming(struct vb2_queue *vq, unsigned int count)
        unsigned long flags;
        int ret;
 
-       /* If buffer queue is empty, return error */
        spin_lock_irqsave(&common->irqlock, flags);
-       if (list_empty(&common->dma_queue)) {
-               spin_unlock_irqrestore(&common->irqlock, flags);
-               vpif_err("buffer queue is empty\n");
-               return -ENOBUFS;
-       }
 
        /* Get the next frame from the buffer queue */
        common->next_frm = common->cur_frm =
@@ -983,7 +977,7 @@ static int vpif_reqbufs(struct file *file, void *priv,
        q->ops = &video_qops;
        q->mem_ops = &vb2_dma_contig_memops;
        q->buf_struct_size = sizeof(struct vpif_disp_buffer);
-       q->timestamp_type = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
+       q->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
 
        ret = vb2_queue_init(q);
        if (ret) {