]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfb2350b8004a261d0a1ae24e5c45a63b82482b43
tree2ba862a50bb000695983bf779c34b5cdf81d3bae
parent780328e40b0ed1d7b8d9f2a86d8dd4b3a1de4cb9
[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