aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/video4linux')
-rw-r--r--Documentation/video4linux/v4l2-framework.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/video4linux/v4l2-framework.txt b/Documentation/video4linux/v4l2-framework.txt
index cb6c7eb51472..38b3716d8643 100644
--- a/Documentation/video4linux/v4l2-framework.txt
+++ b/Documentation/video4linux/v4l2-framework.txt
@@ -486,14 +486,14 @@ VFL_TYPE_RADIO: radioX for radio tuners
486VFL_TYPE_VTX: vtxX for teletext devices (deprecated, don't use) 486VFL_TYPE_VTX: vtxX for teletext devices (deprecated, don't use)
487 487
488The last argument gives you a certain amount of control over the device 488The last argument gives you a certain amount of control over the device
489kernel number used (i.e. the X in videoX). Normally you will pass -1 to 489device node number used (i.e. the X in videoX). Normally you will pass -1 to
490let the v4l2 framework pick the first free number. But if a driver creates 490let the v4l2 framework pick the first free number. But if a driver creates
491many devices, then it can be useful to have different video devices in 491many devices, then it can be useful to have different video devices in
492separate ranges. For example, video capture devices start at 0, video 492separate ranges. For example, video capture devices start at 0, video
493output devices start at 16. 493output devices start at 16.
494 494
495So you can use the last argument to specify a minimum kernel number and 495So you can use the last argument to specify a minimum device node number
496the v4l2 framework will try to pick the first free number that is equal 496and the v4l2 framework will try to pick the first free number that is equal
497or higher to what you passed. If that fails, then it will just pick the 497or higher to what you passed. If that fails, then it will just pick the
498first free number. 498first free number.
499 499
@@ -513,7 +513,7 @@ After the device was successfully registered, then you can use these fields:
513 513
514- vfl_type: the device type passed to video_register_device. 514- vfl_type: the device type passed to video_register_device.
515- minor: the assigned device minor number. 515- minor: the assigned device minor number.
516- num: the device kernel number (i.e. the X in videoX). 516- num: the device node number (i.e. the X in videoX).
517- index: the device index number. 517- index: the device index number.
518 518
519If the registration failed, then you need to call video_device_release() 519If the registration failed, then you need to call video_device_release()