]> git.ipfire.org Git - thirdparty/linux.git/commit
media: uvcvideo: Split uvc_stop_streaming()
authorRicardo Ribalda <ribalda@chromium.org>
Mon, 16 Jun 2025 15:24:40 +0000 (15:24 +0000)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 11 Jul 2025 17:27:27 +0000 (19:27 +0200)
commit54828c0d4f909bd706e15cfaa29758f2c1d59212
tree66bb301f3c6e397a9cee9b83e305f833b22f079c
parentb7ef53670321327f45de8bde5d38f1215927336f
media: uvcvideo: Split uvc_stop_streaming()

uvc_stop_streaming() is used for meta and video nodes. Split the function
in two to avoid confusion.

Use this opportunity to rename uvc_start_streaming() to
uvc_start_streaming_video(), as it is only called by the video nodes.

Reviewed-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Link: https://lore.kernel.org/r/20250616-uvc-fop-v4-3-250286570ee7@chromium.org
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/usb/uvc/uvc_queue.c