OSDN Git Service

[media] zoran: Use monotonic time
authorAbhilash Jindal <klock.android@gmail.com>
Tue, 11 Aug 2015 15:09:49 +0000 (12:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 16 Aug 2015 16:29:31 +0000 (13:29 -0300)
commite4d45dd81e67f9fe0e1af44bddd53c3d4eb061ea
treea68e254fa804ffa5b60ff11949d42a1aa5b824a9
parent8f7a5f462a255b4395e5f0f08c045dc8af6efd55
[media] zoran: Use monotonic time

Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to
user setting the time or due to NTP.

Monotonic time is constantly increasing time better suited for comparing two
timestamps.

Signed-off-by: Abhilash Jindal <klock.android@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/zoran/zoran_device.c