linux/drivers/media/usb
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
..
airspy [media] airspy: enhance sample rate debug calculation precision 2014-09-21 16:42:33 -03:00
as102 [media] as102: fix error return code 2015-05-01 07:00:51 -03:00
au0828 [media] au0828: fix broken streaming 2015-04-02 18:28:59 -03:00
b2c2 [media] drivers: media: usb: b2c2: use usb_*_coherent() instead of pci_*_consistent() in flexcop-usb.c 2013-10-17 11:26:41 -03:00
cpia2 [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
cx231xx [media] si2157: support selection of IF interface 2015-05-12 13:20:55 -03:00
dvb-usb [media] dib0700: avoid the risk of forgetting to add the adapter's size 2015-05-14 19:31:34 -03:00
dvb-usb-v2 [media] af9035: add USB ID 07ca:0337 AVerMedia HD Volar (A867) 2015-05-30 12:08:50 -03:00
em28xx [media] si2157: support selection of IF interface 2015-05-12 13:20:55 -03:00
go7007 [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
gspca [media] gspca: sn9c2028: Add gain and autogain controls Genius Videocam Live v2 2015-05-30 11:48:09 -03:00
hackrf [media] hackrf: harmless off by one in debug code 2014-10-21 08:56:52 -02:00
hdpvr [media] hdpvr: embed video_device 2015-04-02 23:36:54 -03:00
msi2500 [media] msi2500: cleanups 2015-05-14 08:27:23 -03:00
pvrusb2 [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
pwc [media] pwc: fix WARN_ON 2015-01-29 18:27:03 -02:00
s2255 [media] s2255drv: Use setup_timer 2015-01-27 10:04:18 -02:00
siano [media] siano: avoid a linkedit error if !MC 2015-03-02 14:17:01 -03:00
stk1160 [media] stk1160: Make sure current buffer is released 2015-04-02 18:18:37 -03:00
stkwebcam [media] stk-webcam: Delete an unnecessary check before the function call "vfree" 2015-03-02 14:53:27 -03:00
tm6000 [media] tm6000: embed video_device 2015-04-02 23:49:49 -03:00
ttusb-budget media: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
ttusb-dec [media] ttusb-dec: fix bad indentation 2015-05-01 06:24:49 -03:00
usbtv [media] usbtv: fix v4l2-compliance issues 2015-05-01 07:35:24 -03:00
usbvision [media] usbvision: fix bad indentation 2015-05-01 06:25:28 -03:00
uvc [media] uvcvideo: Remove unneeded device disconnected flag 2015-05-30 12:12:58 -03:00
zr364xx [media] media: drivers shouldn't touch debug field in video_device 2014-12-23 10:29:04 -02:00
Kconfig [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00
Makefile [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00