[media] v4l: Rename vb2_queue.timestamp_type as timestamp_flags
The timestamp_type field used to contain only the timestamp type. Soon it will be used for timestamp source flags as well. Rename the field accordingly. [m.chehab@samsung.com: do the change also to drivers/staging/media and at s2255] Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
939f1377fb
commit
ade48681f1
@@ -1001,7 +1001,7 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
|
||||
pdev->vb_queue.buf_struct_size = sizeof(struct pwc_frame_buf);
|
||||
pdev->vb_queue.ops = &pwc_vb_queue_ops;
|
||||
pdev->vb_queue.mem_ops = &vb2_vmalloc_memops;
|
||||
pdev->vb_queue.timestamp_type = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
|
||||
pdev->vb_queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
|
||||
rc = vb2_queue_init(&pdev->vb_queue);
|
||||
if (rc < 0) {
|
||||
PWC_ERROR("Oops, could not initialize vb2 queue.\n");
|
||||
|
Reference in New Issue
Block a user