]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit780328e40b0ed1d7b8d9f2a86d8dd4b3a1de4cb9
treea68e254fa804ffa5b60ff11949d42a1aa5b824a9
parent93f8936e73af827e8499a8c6b4ba0f7ba83873fe
[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