diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-14 16:27:01 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 17:43:23 +0200 |
commit | f1ba28c3a6e472742cbd73b05b807684e5d56b5a (patch) | |
tree | 41db21f9bb32ac3e77069639628245d00dad0f23 /drivers/media/video/usbvision | |
parent | V4L/DVB (11044): v4l2-device: add v4l2_device_disconnect (diff) | |
download | linux-f1ba28c3a6e472742cbd73b05b807684e5d56b5a.tar.xz linux-f1ba28c3a6e472742cbd73b05b807684e5d56b5a.zip |
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/usbvision')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c index 3d400e4b7a27..74a7652dee43 100644 --- a/drivers/media/video/usbvision/usbvision-video.c +++ b/drivers/media/video/usbvision/usbvision-video.c @@ -1771,6 +1771,8 @@ static void __devexit usbvision_disconnect(struct usb_interface *intf) // At this time we ask to cancel outstanding URBs usbvision_stop_isoc(usbvision); + v4l2_device_disconnect(&usbvision->v4l2_dev); + if (usbvision->power) { usbvision_i2c_unregister(usbvision); usbvision_power_off(usbvision); |