linux/drivers/staging/media
Arnd Bergmann ec8354b98b staging: imx: use ktime_t for timestamps
The imx media driver passes around monotonic timestamps in the deprecated
'timespec' format. This is not a problem for the driver, as they won't
overflow, but moving to either timespec64 or ktime_t is preferred.

I'm picking ktime_t for simplicity here. frame_interval_monitor() is
the main function that changes, as it tries to compare a time interval
in microseconds. The algorithm slightly changes here, to avoid 64-bit
division. The code previously assumed that the error was at most 32-bit
worth of microseconds here, so I'm making the same assumption but add
an explicit test for it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-28 13:52:48 +01:00
..
atomisp Merge branch 'work.get_user_pages_fast' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-11-17 12:38:51 -08:00
bcm2048 Staging: bcm2048 fix bare use of 'unsigned' in radio-bcm2048.c 2017-10-18 16:42:27 +02:00
cxd2099 media: staging/cxd2099: Add module parameter for buffer mode 2017-08-27 06:42:31 -04:00
davinci_vpfe media: staging: media: davinci_vpfe: constify vb2_ops structures 2017-08-20 08:03:30 -04:00
imx staging: imx: use ktime_t for timestamps 2017-11-28 13:52:48 +01:00
lirc [media] media: lirc_dev: merge struct irctl into struct lirc_dev 2017-10-04 14:53:07 -03:00
omap4iss media: staging: omap4iss: make v4l2_file_operations const 2017-08-27 08:46:23 -04:00
Kconfig [media] media: Add i.MX media core driver 2017-06-20 07:30:38 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00