linux/drivers/media/usb/gspca
Antonio Ospite c21f0cb400 [media] gspca: fix a v4l2-compliance failure about buffer timestamp
v4l2-compliance fails with this message:

  fail: v4l2-test-buffers.cpp(250): \
      timestamp != V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC && \
      timestamp != V4L2_BUF_FLAG_TIMESTAMP_COPY
  ...
  test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: FAIL

When setting the frame time, gspca uses v4l2_get_timestamp() which uses
ktime_get_ts() which uses ktime_get_ts64() which returns a monotonic
timestamp, so it's safe to initialize the buffer flags to
V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC to fix the failure.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-08 14:58:46 -03:00
..
gl860
m5602 m5602_ov7660: move skeletons to the .c file 2016-06-24 09:37:43 -03:00
stv06xx [media] gspca_stv06xx: enable button found on some Quickcam Express variant 2015-01-29 18:27:25 -02:00
autogain_functions.c
benq.c [media] benq: fix indentation 2015-04-30 13:41:52 -03:00
conex.c
cpia1.c
dtcs033.c
etoms.c
finepix.c
gspca.c [media] gspca: fix a v4l2-compliance failure about buffer timestamp 2016-07-08 14:58:46 -03:00
gspca.h [media] trivial: drivers/media/usb/gspca/gspca.h: indent with TABs, not spaces 2014-09-08 10:00:57 -03:00
jeilinj.c
jl2005bcd.c
jpeg.h
Kconfig [media] media: fix gspca drivers build dependencies 2015-03-03 10:16:31 -03:00
kinect.c
konica.c
Makefile [media] gspca_touptek: Add support for ToupTek UCMOS series USB cameras 2015-01-29 18:13:13 -02:00
mars.c
mr97310a.c
nw80x.c
ov519.c [media] gspca: Remove unused ovfx2_vga_mode/ovfx2_cif_mode arrays 2016-03-01 10:44:28 -03:00
ov534_9.c
ov534.c [media] gspca: ov534/topro: use a define for the default framerate 2016-07-08 14:56:53 -03:00
pac207.c
pac7302.c
pac7311.c
pac_common.h
se401.c
se401.h
sn9c20x.c [media] sn9c20x: fix checkpatch warning: sizeof cmatrix should be sizeof(cmatrix) 2014-09-21 20:59:57 -03:00
sn9c2028.c [media] gspca: sn9c2028: remove an unneeded condition 2015-07-06 08:26:06 -03:00
sn9c2028.h [media] gspca: sn9c2028: Add gain and autogain controls Genius Videocam Live v2 2015-05-30 11:48:09 -03:00
sonixb.c
sonixj.c [media] sonixj: fix bad indenting 2015-05-01 06:11:05 -03:00
spca500.c
spca501.c
spca505.c
spca506.c
spca508.c
spca561.c
spca1528.c
sq905.c
sq905c.c
sq930x.c
stk014.c [media] stk014: fix bad indenting 2015-05-01 06:11:22 -03:00
stk1135.c
stk1135.h
stv0680.c
sunplus.c
t613.c
topro.c [media] gspca: ov534/topro: use a define for the default framerate 2016-07-08 14:56:53 -03:00
touptek.c [media] touptek: cast char types on %x printk 2016-03-10 13:37:45 -03:00
tv8532.c
vc032x.c [media] gspca_vc032x: Fix wrong bytesperline 2015-01-29 18:28:46 -02:00
vicam.c
w996Xcf.c [media] gspca: Fix ov519 i2c r/w not working when connected to a xhci host 2016-03-01 10:40:14 -03:00
xirlink_cit.c [media] xirlink_cit: comment unreachable code 2015-05-01 06:27:08 -03:00
zc3xx-reg.h
zc3xx.c [media] zc3xx: remove dead code and uneeded gotos 2015-04-30 14:27:53 -03:00