summaryrefslogtreecommitdiff
path: root/drivers/media/video/w9968cf.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-14 18:27:01 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 19:43:23 +0400
commitf1ba28c3a6e472742cbd73b05b807684e5d56b5a (patch)
tree41db21f9bb32ac3e77069639628245d00dad0f23 /drivers/media/video/w9968cf.c
parentae6cfaace120f4330715b56265ce0e4a710e1276 (diff)
downloadlinux-f1ba28c3a6e472742cbd73b05b807684e5d56b5a.tar.xz
V4L/DVB (11045): v4l2: call v4l2_device_disconnect in USB drivers.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/w9968cf.c')
-rw-r--r--drivers/media/video/w9968cf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c
index 2a25580a4b66..3b08bc4af909 100644
--- a/drivers/media/video/w9968cf.c
+++ b/drivers/media/video/w9968cf.c
@@ -3557,7 +3557,9 @@ static void w9968cf_usb_disconnect(struct usb_interface* intf)
cam->disconnected = 1;
- DBG(2, "Disconnecting %s...", symbolic(camlist, cam->id))
+ DBG(2, "Disconnecting %s...", symbolic(camlist, cam->id));
+
+ v4l2_device_disconnect(&cam->v4l2_dev);
wake_up_interruptible_all(&cam->open);