mbox series

[0/2] media: uvcvideo: Followup hwtimestamp patches

Message ID 20240610-hwtimestamp-followup-v1-0-f9eaed7be7f0@chromium.org
Headers show
Series media: uvcvideo: Followup hwtimestamp patches | expand

Message

Ricardo Ribalda June 10, 2024, 7:17 p.m. UTC
The series 
https://patchwork.linuxtv.org/project/linux-media/list/?series=12485
was all merged but one patch that Laurent found a bug in the index used.

When I tried the fixed patch I found an integer overflow in the
timestamp calculations. This bug can be triggered with slow framerates.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Ricardo Ribalda (2):
      media: uvcvideo: Fix hw timestamp handling for slow FPS
      media: uvcvideo: Fix integer overflow calculating timestamp

 drivers/media/usb/uvc/uvc_video.c | 33 ++++++++++++++++++++++++++++-----
 drivers/media/usb/uvc/uvcvideo.h  |  1 +
 2 files changed, 29 insertions(+), 5 deletions(-)
---
base-commit: ef1e48f725d30cb18d3f2d40c48f50f483080cf7
change-id: 20240610-hwtimestamp-followup-2489c5668b21

Best regards,