Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130772
b: refs/heads/master
c: 2fd9c2e
h: refs/heads/master
v: v3
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Jan 29, 2009
1 parent b670ff7 commit fe71a74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9c06210b89e604aa75314d3d173a93292b0d2777
refs/heads/master: 2fd9c2eac31d8b3c1b719c7dfbbfed17c5cbccc4
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,8 @@ static void destroy_urbs(struct gspca_dev *gspca_dev)
break;

gspca_dev->urb[i] = NULL;
usb_kill_urb(urb);
if (!gspca_dev->present)
usb_kill_urb(urb);
if (urb->transfer_buffer != NULL)
usb_buffer_free(gspca_dev->dev,
urb->transfer_buffer_length,
Expand Down Expand Up @@ -1950,7 +1951,6 @@ 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);

Expand Down

0 comments on commit fe71a74

Please sign in to comment.