aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-09-26 07:16:56 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:14 -0400
commitd69f27186c16008540166c8017e9d4db2b477588 (patch)
tree5aad41d0b021e7544bf0aae30c44657e1afd3e45 /Documentation/video4linux
parent96322b80e29802d2d3087987f6dc4e5aa19df64b (diff)
V4L/DVB: v4l2-dev: after a disconnect any ioctl call will be blocked
Until now all fops except release and (unlocked_)ioctl returned an error after the device node was unregistered. Extend this as well to the ioctl fops. There is nothing useful that an application can do here and it complicates the driver code unnecessarily. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/video4linux')
-rw-r--r--Documentation/video4linux/v4l2-framework.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/video4linux/v4l2-framework.txt b/Documentation/video4linux/v4l2-framework.txt
index 8fb9de4f4875..9b1d81c26b7d 100644
--- a/Documentation/video4linux/v4l2-framework.txt
+++ b/Documentation/video4linux/v4l2-framework.txt
@@ -551,9 +551,8 @@ from /dev).
551 551
552After video_unregister_device() returns no new opens can be done. However, 552After video_unregister_device() returns no new opens can be done. However,
553in the case of USB devices some application might still have one of these 553in the case of USB devices some application might still have one of these
554device nodes open. So after the unregister all file operations will return 554device nodes open. So after the unregister all file operations (except
555an error as well, except for the ioctl and unlocked_ioctl file operations: 555release, of course) will return an error as well.
556those will still be passed on since some buffer ioctls may still be needed.
557 556
558When the last user of the video device node exits, then the vdev->release() 557When the last user of the video device node exits, then the vdev->release()
559callback is called and you can do the final cleanup there. 558callback is called and you can do the final cleanup there.