OSDN Git Service

[media] dvb-frontend: Use boottime
authorAbhilash Jindal <klock.android@gmail.com>
Sun, 31 Jan 2016 05:47:31 +0000 (03:47 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 15:35:29 +0000 (13:35 -0200)
commit6b3f99989eb73e5250bba9dfeaa852939acfbf70
tree40c75abc134fa5d7660a8096859e24547b2b5727
parent3801bc7d1b8dd70d47a92e58d6fb5653c10b7c95
[media] dvb-frontend: Use boottime

Wall time obtained from ktime_get_real is susceptible to sudden jumps due to
user setting the time or due to NTP.  Boot time is constantly increasing time
better suited for comparing two timestamps.

[mchehab@osg.samsung.com: fix trivial merge conflicts]
Signed-off-by: Abhilash Jindal <klock.android@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-core/dvb_frontend.c
drivers/media/dvb-frontends/stv0299.c