]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: v4l2_subdev: Move interrupt_service_routine ptr to v4l2_subdev_core_ops
authorAndy Walls <awalls@md.metrocast.net>
Sun, 18 Jul 2010 23:54:52 +0000 (20:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:42:55 +0000 (23:42 -0300)
commit4c8eaec464f6a1af32104dfa1e6ca8d9c8391978
treeb671e9e72757568222fb6c808e2ff7050b8468c8
parentbefa4c7c7748880a4c93108d79bae97abef02d2e
V4L/DVB: v4l2_subdev: Move interrupt_service_routine ptr to v4l2_subdev_core_ops

The CX2584x and related cores are multifunction subdevices with a number
of internal blocks that act as interrupt sources.  Move the v4L2_subdev
interrupt_service_routine callback from v4l_subdev_ir_ops to
v4l2_subdev_core_ops, as the video and audio blocks of a CX2584x and
related cores can generate interrupts along with the IR block.  This
change also makes sense for other subdev's that generate interrupts and
do not have an IR block.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-core.c
drivers/media/video/cx23885/cx23888-ir.c
include/media/v4l2-subdev.h