From: Michael Jeanson Date: Tue, 11 Feb 2020 20:13:53 +0000 (-0500) Subject: fix: media: v4l2: abstract timeval handling in v4l2_buffer (v5.6) X-Git-Tag: before-upstreaming~39 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=c293a2e8acd08864eeca80550da298c96533a5bc;hp=c293a2e8acd08864eeca80550da298c96533a5bc;p=lttng-modules.git fix: media: v4l2: abstract timeval handling in v4l2_buffer (v5.6) See upstream commit : commit 77cdffcb0bfb87fe3645894335cb8cb94917e6ac Author: Arnd Bergmann Date: Mon Dec 16 15:15:00 2019 +0100 media: v4l2: abstract timeval handling in v4l2_buffer As a preparation for adding 64-bit time_t support in the uapi, change the drivers to no longer care about the format of the timestamp field in struct v4l2_buffer. The v4l2_timeval_to_ns() function is no longer needed in the kernel after this, but there is userspace code relying on it to be part of the uapi header. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers ---