alistair23-linux/drivers/media/usb/uvc
Laurent Pinchart d511eb7d64 [media] uvcvideo: Remove unneeded device disconnected flag
The UVC_DEV_DISCONNECTED flag is set when the USB device is
disconnected, and checked in the open() handler to refuse opening a
device that has been disconnected.

This is inherently racy, but the race condition is taken care of in the
V4L2 core, which also fails open() calls when the V4L2 device node has
been unregistered. As the uvcvideo USB disconnect handler unregisters
all its video device nodes, the UVC_DEV_DISCONNECTED flag doesn't serve
any purpose anymore and can be removed.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-30 12:12:58 -03:00
..
Kconfig
Makefile
uvc_ctrl.c [media] uvcvideo: Work around buggy Logitech C920 firmware 2014-09-21 20:25:54 -03:00
uvc_debugfs.c
uvc_driver.c [media] uvcvideo: Remove unneeded device disconnected flag 2015-05-30 12:12:58 -03:00
uvc_entity.c
uvc_isight.c
uvc_queue.c [media] uvcvideo: Implement DMABUF exporter role 2015-05-30 12:11:40 -03:00
uvc_status.c
uvc_v4l2.c [media] uvcvideo: Remove unneeded device disconnected flag 2015-05-30 12:12:58 -03:00
uvc_video.c [media] uvcvideo: Fix incorrect bandwidth with Chicony device 04f2:b50b 2015-05-30 12:12:15 -03:00
uvcvideo.h [media] uvcvideo: Remove unneeded device disconnected flag 2015-05-30 12:12:58 -03:00