V4L/DVB: v4l2-dev: after a disconnect any ioctl call will be blocked
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 26 Sep 2010 11:16:56 +0000 (08:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:14 +0000 (01:06 -0200)
commitd69f27186c16008540166c8017e9d4db2b477588
tree5aad41d0b021e7544bf0aae30c44657e1afd3e45
parent96322b80e29802d2d3087987f6dc4e5aa19df64b
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>
Documentation/video4linux/v4l2-framework.txt
drivers/media/video/v4l2-dev.c