[media] v4l2-event: Add v4l2_subscribed_event_ops
authorHans de Goede <hdegoede@redhat.com>
Sun, 8 Apr 2012 15:59:46 +0000 (12:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 May 2012 19:28:35 +0000 (16:28 -0300)
commitc53c2549333b340e2662dc64ec81323476b69a97
tree4bd55780eba1302caaf7359631b996043dc1082f
parenta22d85fea89744fad2cb215da1fe0c1ce226a613
[media] v4l2-event: Add v4l2_subscribed_event_ops

Just like with ctrl events, drivers may want to get called back on
listener add / remove for other event types too. Rather then special
casing all of this in subscribe / unsubscribe event it is better to
use ops for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/v4l2-framework.txt
drivers/media/video/ivtv/ivtv-ioctl.c
drivers/media/video/omap3isp/ispccdc.c
drivers/media/video/omap3isp/ispstat.c
drivers/media/video/v4l2-ctrls.c
drivers/media/video/v4l2-event.c
drivers/usb/gadget/uvc_v4l2.c
include/media/v4l2-event.h