summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-22 09:35:49 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 20:53:40 +0100
commit6e4ae872c580d6a388a52ddfdfc93b4215af1180 (patch)
treed72c6030c258b234d35aed7b0591ebef47b209e9 /drivers/media/video/gspca/gspca.c
parentV4L/DVB (9712): gspca:Subdriver ov534 added. (diff)
downloadlinux-6e4ae872c580d6a388a52ddfdfc93b4215af1180.tar.xz
linux-6e4ae872c580d6a388a52ddfdfc93b4215af1180.zip
V4L/DVB (9713): gspca: Add the ov534 webcams in the gspca documentation.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.c')
-rw-r--r--drivers/media/video/gspca/gspca.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index 0d233c724875..7f8b798deb1b 100644
--- a/drivers/media/video/gspca/gspca.c
+++ b/drivers/media/video/gspca/gspca.c
@@ -1923,6 +1923,9 @@ void gspca_disconnect(struct usb_interface *intf)
{
struct gspca_dev *gspca_dev = usb_get_intfdata(intf);
+ gspca_dev->present = 0;
+ gspca_dev->streaming = 0;
+
usb_set_intfdata(intf, NULL);
/* release the device */