Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1225844

Re: [PATCH 4/7] [media] exynos4-is: use monotonic timestamps as advertized

From Sylwester Nawrocki <s.nawrocki@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH 4/7] [media] exynos4-is: use monotonic timestamps as advertized
Date 2015-09-16 11:00 +0200
Message-ID <q9gJk-7WT-27@gated-at.bofh.it> (permalink)
References <q90Ez-Jd-49@gated-at.bofh.it> <q90Ez-Jd-47@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 15/09/15 17:49, Arnd Bergmann wrote:
> The exynos4 fimc capture driver claims to use monotonic
> timestamps but calls ktime_get_real_ts(). This is both
> an incorrect API use, and a bad idea because of the y2038
> problem and the fact that the wall clock time is not reliable
> for timestamps across suspend or settimeofday().
> 
> This changes the driver to use the normal v4l2_get_timestamp()
> function like all other drivers.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 4/7] [media] exynos4-is: use monotonic timestamps as advertized Arnd Bergmann <arnd@arndb.de> - 2015-09-15 17:50 +0200
  Re: [PATCH 4/7] [media] exynos4-is: use monotonic timestamps as  advertized Sylwester Nawrocki <s.nawrocki@samsung.com> - 2015-09-16 11:00 +0200

csiph-web