]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: Media device information query
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 18 Aug 2010 14:41:22 +0000 (11:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:53:13 +0000 (04:53 -0300)
commit5bfcaccd412284a93101ee8b782b10cdf48d3a76
treec02891d72b0b85c03d4f493da4c5f37923c836c6
parent1cda9fa7febb4bc04d9efb594a9b2ac78cfb6b27
[media] media: Media device information query

Create the following ioctl and implement it at the media device level to
query device information.

- MEDIA_IOC_DEVICE_INFO: Query media device information

The ioctl and its data structure are defined in the new kernel header
linux/media.h available to userspace applications.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/media-entities.tmpl
Documentation/DocBook/v4l/media-controller.xml
Documentation/DocBook/v4l/media-func-close.xml [new file with mode: 0644]
Documentation/DocBook/v4l/media-func-ioctl.xml [new file with mode: 0644]
Documentation/DocBook/v4l/media-func-open.xml [new file with mode: 0644]
Documentation/DocBook/v4l/media-ioc-device-info.xml [new file with mode: 0644]
drivers/media/media-device.c
include/linux/Kbuild
include/linux/media.h [new file with mode: 0644]