]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: uvcvideo: Do not turn on the camera for some ioctls
authorRicardo Ribalda <ribalda@chromium.org>
Thu, 27 Mar 2025 21:05:31 +0000 (21:05 +0000)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 9 May 2025 13:29:12 +0000 (15:29 +0200)
commitd1b618e7954802fe5a08f71b1ef33e9b3518479b
treec026769dde59449873351a887440ae1ae1a1c048
parenta32d9c41bdb86e09ce731aa5fd3add89ac2103a5
media: uvcvideo: Do not turn on the camera for some ioctls

There are some ioctls that do not need to turn on the camera. Do not
call uvc_pm_get in those cases.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Message-ID: <20250327-uvc-granpower-ng-v6-5-35a2357ff348@chromium.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/usb/uvc/uvc_v4l2.c