aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-22 05:35:49 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:40 -0200
commit6e4ae872c580d6a388a52ddfdfc93b4215af1180 (patch)
treed72c6030c258b234d35aed7b0591ebef47b209e9 /drivers
parentfbb4c6d20f29f2b10daad31cc6238d91f93d70d4 (diff)
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')
-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 0d233c72487..7f8b798deb1 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 */