On 15/09/15 17:49, Arnd Bergmann wrote:
This is a preparation for a change to the type of v4l2 timestamps. v4l2_get_timestamp() is a helper function that reads the monotonic time and stores it into a 'struct timeval'. Multiple drivers implement the same thing themselves for historic reasons.
Changing them all to use v4l2_get_timestamp() is more consistent and reduces the amount of code duplication, and most importantly simplifies the following changes.
If desired, this patch can easily be split up into one patch per driver.
Signed-off-by: Arnd Bergmann arnd@arndb.de
For:
drivers/media/platform/exynos4-is/fimc-lite.c drivers/media/platform/s3c-camif/camif-capture.c
Acked-by: Sylwester Nawrocki s.nawrocki@samsung.com