Re: [PATCH RESEND v5 4/5] media: uvcvideo: Refactor clock circular buffer

From: Sergey Senozhatsky
Date: Thu Mar 09 2023 - 00:27:02 EST


On (23/03/08 23:45), Ricardo Ribalda wrote:
>
> Isolate all the changes related to the clock circular buffer to its own
> function, that way we can make changes easier to the buffer logic.
>
> Also simplify the lock, by removing the circular buffer clock handling
> from uvc_video_clock_decode().
>
> And now that we are at it, unify the API of the clock functions.
>
> Tested-by: HungNien Chen <hn.chen@xxxxxxxxxxxxx>
> Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>