V4L/DVB (13085): cx23885: Fix support for v4l2-dbg access to CX2388[578] and CX23417...
authorAndy Walls <awalls@radix.net>
Sun, 27 Sep 2009 01:50:44 +0000 (22:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:16 +0000 (18:40 -0200)
commit74618244003a5a9e11240af8c5795ae747d9a2e0
tree20021195d0e5b841808e4e5dfb6b1d40c16f3f9e
parentf56db93cef5d368b4fa5db49b68bc4ab0b20c4fd
V4L/DVB (13085): cx23885: Fix support for v4l2-dbg access to CX2388[578] and CX23417 regs

This changes corrects the ioctl() operations for both the CX2388[578] analog
video and MPEG video device nodes to properly and consistently support
VIDIOC_G_CHIP_IDENT, VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER ioctl()s.

This caused some ioctl() support routines to be broken out into a separate
source file.

Now v4l2-dbg can be used to manipulate CX2388[578] and CX23417 registers
including the CX2388[57] functions handled by the cx25840 module.

This was done in anticipation of developing a new v4l2_subdev for the
integrated IR controller of the CX23888.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/Makefile
drivers/media/video/cx23885/cx23885-417.c
drivers/media/video/cx23885/cx23885-ioctl.c [new file with mode: 0644]
drivers/media/video/cx23885/cx23885-ioctl.h [new file with mode: 0644]
drivers/media/video/cx23885/cx23885-video.c
drivers/media/video/cx23885/cx23885.h