summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2026-05-13 11:49:25 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-05-21 21:14:08 +0200
commita3d78e74dd3ed04797ea351edb7f0a19b961c063 (patch)
tree2b21c36682828b3d05b52bae0dd010b843beb43f /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent0491c93a510c32eaf8ed404b99a447e10c30291e (diff)
media: uvcvideo: Only do uvc_video_get_time() if needed
There is no need to calculate the current time if the sample is going to be filtered. Move the assignment close to uvc_video_clock_add_sample(). Suggested-by: Hans de Goede <hansg@kernel.org> 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-6-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 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions