Thread (23 messages) 23 messages, 5 authors, 2017-08-31

Re: [PATCH 5/7] [media] use v4l2_get_timestamp where possible

From: Sylwester Nawrocki <hidden>
Date: 2015-09-16 08:58:34
Also in: linux-media, linux-samsung-soc, lkml

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 <redacted>
---
For:

  drivers/media/platform/exynos4-is/fimc-lite.c
  drivers/media/platform/s3c-camif/camif-capture.c

Acked-by: Sylwester Nawrocki <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help