aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/video4linux.txt
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2018-06-05 12:31:25 +0300
committerDmitry Vyukov <dvyukov@google.com>2018-06-05 13:33:12 +0300
commit863a24bb5da2268d7705ec57fb2d16dfafa2e02c (patch)
treed1d194fe1cf01eab5dc3abf07d48cbf86a28b43d /sys/linux/video4linux.txt
parentbf6fa5b6475b8c1d456748f43b2554f710336b3c (diff)
sys/linux: id field fix in v4l2_event_subscription
The id field in the v4l2_event_subscription structure currently described as: id len[type, int32]. But all the documentation states is: "id - ID of the event source. If there is no ID associated with the event source, then set this to 0. Whether or not an event needs an ID depends on the event type." So, the documentation clearly states that: 1. id - is the source of an event 2. type - is the type of an event 3. for some types of events there is no source and id can be 0 According to this 'id int32' is more accurate description of the field.
Diffstat (limited to 'sys/linux/video4linux.txt')
-rw-r--r--sys/linux/video4linux.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/video4linux.txt b/sys/linux/video4linux.txt
index 0e932d027..f527a7ee8 100644
--- a/sys/linux/video4linux.txt
+++ b/sys/linux/video4linux.txt
@@ -676,7 +676,7 @@ v4l2_event_motion_det {
v4l2_event_subscription {
type flags[v4l2_event_type, int32]
- id len[type, int32]
+ id int32
flags flags[v4l2_event_subscription_flags, int32]
reserved array[const[0, int32], 5]
}