summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2026-05-13 14:49:24 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-05-21 22:14:08 +0300
commit0491c93a510c32eaf8ed404b99a447e10c30291e (patch)
treed7213592ce679bd8bb3c2c3a5cc13afec43f36b2 /include/linux/timerqueue.h
parentba649fff36c1fe68489a86d00285224907edd436 (diff)
downloadlinux-0491c93a510c32eaf8ed404b99a447e10c30291e.tar.xz
media: uvcvideo: Do not add samples if dev_sof has not changed
We only save relevant samples into the circular buffer. If the data is very similar to the previous one, exit early, this allows us to avoid some expensive operations such as usb_get_current_frame_number(). Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Tested-by: Yunke Cao <yunkec@google.com> Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Link: https://patch.msgid.link/20260513-uvc-hwtimestamp-v3-5-7a64838b0b02@chromium.org Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions