diff options
author | jean-michel.hautbois@vodalys.com <jean-michel.hautbois@vodalys.com> | 2015-03-18 07:21:47 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-20 13:40:02 -0300 |
commit | 17e484686be2e9ecb88cc7913a4baaf6783275e3 (patch) | |
tree | 98a95fa9f714a1933ec286260aea4ef3f856399f /include | |
parent | ce0eff016f7272faa6dc6eec722b1ca1970ff9aa (diff) | |
download | linux-17e484686be2e9ecb88cc7913a4baaf6783275e3.tar.bz2 |
[media] v4l2-subdev: allow subdev to send an event to the v4l2_device notify function
All drivers use custom notifications, in particular when source changes.
The bridge only has to map the subdev that sends it to whatever video node it is connected to.
Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/v4l2-subdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 8f5da73dacff..dc20102ff600 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h @@ -40,6 +40,8 @@ #define V4L2_SUBDEV_IR_TX_NOTIFY _IOW('v', 1, u32) #define V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ 0x00000001 +#define V4L2_DEVICE_NOTIFY_EVENT _IOW('v', 2, struct v4l2_event) + struct v4l2_device; struct v4l2_ctrl_handler; struct v4l2_event_subscription; |