Re: [PATCH 5/7] [media] use v4l2_get_timestamp where possible
From: Sylwester Nawrocki
Date: Wed Sep 16 2015 - 04:58:41 EST
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@xxxxxxxx>
> ---
For:
drivers/media/platform/exynos4-is/fimc-lite.c
drivers/media/platform/s3c-camif/camif-capture.c
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/