linux/drivers/media/usb
Oliver Neukum a82a45f653 [media] uvcvideo: Fix race of open and suspend in error case
Ming Lei reported:
IMO, there is a minor fault in the error handling path of
uvc_status_start() inside uvc_v4l2_open(), and the 'users' count should
have been decreased before usb_autopm_put_interface(). In theory, a [URB
resubmission] warning can be triggered when the device is opened just
between usb_autopm_put_interface() and atomic_dec(&stream->dev->users).
The fix is trivial.

Reported-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-02-05 14:32:21 -02:00
..
au0828 [media] au0828: Replace memcpy with struct assignment 2012-12-27 18:49:44 -02:00
b2c2 [media] Kconfig: Fix b2c2 common code selection 2012-08-21 08:38:31 -03:00
cpia2 [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
cx231xx [media] cx231xx: Replace memcpy with struct assignment 2012-12-27 18:44:11 -02:00
dvb-usb [media] dib0700: do not lock interruptible on tear-down paths 2013-01-06 10:42:33 -02:00
dvb-usb-v2 [media] rtl28xxu: correct some device names 2013-01-06 10:26:31 -02:00
em28xx [media] em28xx: fix audio input for TV mode of device Terratec Cinergy 250 2013-01-06 10:45:53 -02:00
gspca Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
hdpvr [media] hdpvr: Replace memcpy with struct assignment 2012-12-27 18:46:08 -02:00
pvrusb2 [media] pvrusb2: Replace memcpy with struct assignment 2012-12-27 18:45:53 -02:00
pwc [media] pwc: Replace memcpy with struct assignment 2012-12-27 18:45:04 -02:00
s2255 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
siano Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
sn9c102 [media] sn9c102: Replace memcpy with struct assignment 2012-12-27 18:44:46 -02:00
stk1160 [media] stk1160: Replace BUG_ON with WARN_ON 2013-01-01 10:04:40 -02:00
stkwebcam [media] stk-webcam: Add an upside down dmi table, and add the Asus G1 to it 2012-12-21 13:34:30 -02:00
tlg2300 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
tm6000 [media] tm6000-dvb: Fix module unload 2012-12-21 18:45:31 -02:00
ttusb-budget [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
ttusb-dec
usbvision Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
uvc [media] uvcvideo: Fix race of open and suspend in error case 2013-02-05 14:32:21 -02:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2 2012-12-17 14:31:26 -02:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00