V4L/DVB (13152): uvcvideo: Rely on videodev to reference-count the device
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 30 Sep 2009 00:07:19 +0000 (21:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:36 +0000 (18:40 -0200)
commit716fdee110ceb816cca8c46c0890d08c5a1addb9
tree69e4f133fbbf6549a73b03c3d72583ed66db5710
parent1a969d9863a0c8890eb799ec710dda9701f10483
V4L/DVB (13152): uvcvideo: Rely on videodev to reference-count the device

The uvcvideo driver has a driver-wide lock and a reference count to protect
against a disconnect/open race. Now that videodev handles the race itself,
reference-counting in the driver can be removed.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_driver.c
drivers/media/video/uvc/uvc_v4l2.c
drivers/media/video/uvc/uvcvideo.h