Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drivers/amlogic/ionvideo/ionvideo.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ static int __init ionvideo_create_instance(int inst)
q->ops = &ionvideo_video_qops;
q->mem_ops = &vb2_ion_memops;
//q->timestamp_type = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
q->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
q->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;

ret = vb2_queue_init(q);
if (ret)
Expand Down Expand Up @@ -989,7 +989,7 @@ static int __init ionvideo_create_instance(int inst)

static u32 buf_num_queue(struct vb2_queue *q)
{
return atomic_read(&q->queued_count);
return atomic_read(&q->owned_by_drv_count);
}

static ssize_t vframe_states_show(struct class *class, struct class_attribute* attr, char* buf)
Expand Down