]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffea9cb08563154e495f84d8f0109fb363326bd1
tree5aad41d0b021e7544bf0aae30c44657e1afd3e45
parent8b77f048f0ad557e918038be29452d9a5ddae2ae
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