[media] bt8xxx: Use monotonic time
authorAbhilash Jindal <klock.android@gmail.com>
Tue, 11 Aug 2015 15:22:57 +0000 (12:22 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 16 Aug 2015 16:29:59 +0000 (13:29 -0300)
commit82fde1a98eb9866347a1d3543fac4ab9a69aeb7d
tree2ba862a50bb000695983bf779c34b5cdf81d3bae
parente4d45dd81e67f9fe0e1af44bddd53c3d4eb061ea
[media] bt8xxx: 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/bt8xx/bttv-input.c
drivers/media/pci/bt8xx/bttvp.h