[media] v4l: Convert drivers to use monotonic timestamps

Convert drivers using wall clock time (CLOCK_REALTIME) to timestamp from the
monotonic timer (CLOCK_MONOTONIC).

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Este commit está contenido en:
Sakari Ailus
2012-09-15 15:14:42 -03:00
cometido por Mauro Carvalho Chehab
padre abd2329564
commit 8e6057b510
Se han modificado 43 ficheros con 61 adiciones y 70 borrados

Ver fichero

@@ -773,7 +773,8 @@ end_of_frame:
img);
if ((*f)->buf.bytesused == 0)
do_gettimeofday(&(*f)->buf.timestamp);
v4l2_get_timestamp(
&(*f)->buf.timestamp);
(*f)->buf.bytesused += img;