[media] v4l: Add VIDIOC_LOG_STATUS support for sub-device nodes
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Sat, 1 Oct 2011 14:13:59 +0000 (11:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 15:00:11 +0000 (13:00 -0200)
commitbcd158de94238d90adf7275548f0aaf2de724ab1
treea194de0edd2953454d0015e125fa2d3f8e0a1462
parentf664684a56deb7675363e2fa3f1e2a5eedbb3222
[media] v4l: Add VIDIOC_LOG_STATUS support for sub-device nodes

The VIDIOC_LOG_STATUS ioctl allows to dump the current status of a driver
to the kernel log. Currently this ioctl is only available at video device
nodes and the subdevs rely on the host driver to expose their core.log_status
operation to user space.

This patch adds VIDIOC_LOG_STATUS support at the sub-device nodes,
for standalone subdevs that expose their own /dev entry.

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-subdev.c