media: uvcvideo: Fix hw timestampt handling for slow FPS

In UVC 1.5, when working with FPS under 32, there is a chance that the
circular buffer contains two dev_sof overflows, but the clock interpolator
is only capable of handle a single overflow.

Remove all the samples from the circular buffer that are two overflows

Signed-off-by: Ricardo Ribalda <>
2 files changed