summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/meta-formats.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-08-17 04:50:02 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-11 08:47:05 -0400
commit3a03284dd4e7a9923acda7d73ec418378d3af6cc (patch)
treed14d003233c851dd0d91bbfa6f4cf1a04e5a9581 /Documentation/media/uapi/v4l/meta-formats.rst
parent88d8034c943fb5a0e3c49eb878a87edcb376e2c2 (diff)
media: uvcvideo: Store device information pointer in struct uvc_device
The device information structure is currently copied field by field in the uvc_device structure. As we only have two fields at the moment this isn't much of an issue, but it prevents easy addition of new info fields. Fix this by storing the uvc_device_info pointer in the uvc_device structure. As a result the uvc_device meta_format field can be removed. The quirks field, however, needs to stay as it can be modified through a module parameter. As not all device have an information structure, we declare a global "NULL" info instance that is used as a fallback when the driver_info is empty. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/media/uapi/v4l/meta-formats.rst')
0 files changed, 0 insertions, 0 deletions