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

From: Sylwester Nawrocki
Date: Wed Sep 16 2015 - 04:56:40 EST


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@xxxxxxxx>

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