You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
abd2329564
commit
8e6057b510
@@ -549,7 +549,7 @@ void cx88_wakeup(struct cx88_core *core,
|
||||
* up to 32767 buffers in flight... */
|
||||
if ((s16) (count - buf->count) < 0)
|
||||
break;
|
||||
do_gettimeofday(&buf->vb.ts);
|
||||
v4l2_get_timestamp(&buf->vb.ts);
|
||||
dprintk(2,"[%p/%d] wakeup reg=%d buf=%d\n",buf,buf->vb.i,
|
||||
count, buf->count);
|
||||
buf->vb.state = VIDEOBUF_DONE;
|
||||
|
||||
Reference in New Issue
Block a user