mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
ec8354b98b
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> |
||
---|---|---|
.. | ||
atomisp | ||
bcm2048 | ||
cxd2099 | ||
davinci_vpfe | ||
imx | ||
lirc | ||
omap4iss | ||
Kconfig | ||
Makefile |