]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: uvcvideo: Probe the PLF characteristics
authorRicardo Ribalda <ribalda@chromium.org>
Mon, 10 Jun 2024 23:09:54 +0000 (23:09 +0000)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 17 Jun 2024 20:21:10 +0000 (23:21 +0300)
commitb2b5fcb1c5b645d5177ef3e3f41c7a706fc2688d
tree2dcb9b5d3ec783a97a8fc91cb98299bce083175b
parenta8505ad3be3e931c02d7dea505ab7783530fcdaa
media: uvcvideo: Probe the PLF characteristics

The UVC 1.5 standard defines 4 values for the PLF control: Off, 50Hz,
60Hz and Auto. But it does not clearly define if all the values must be
implemented or not.

Instead of just using the UVC version to determine what the PLF control
can do, probe it.

Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
drivers/media/usb/uvc/uvc_ctrl.c