OSDN Git Service

media: uvcvideo: Allow entity-defined get_info and get_cur
authorRicardo Ribalda <ribalda@chromium.org>
Wed, 23 Dec 2020 13:35:21 +0000 (14:35 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 14:03:39 +0000 (15:03 +0100)
commit65900c581d014499f0f8ceabfc02c652e9a88771
tree2c1d634bc534347e539ac85d4b4f294c1e364091
parentd9c8763e61295be0a21dc04ad9c379d5d17c3d86
media: uvcvideo: Allow entity-defined get_info and get_cur

Allows controls to get their properties and current value
from an entity-defined function instead of via a query to the USB
device.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/uvc/uvc_ctrl.c
drivers/media/usb/uvc/uvcvideo.h