Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357489
b: refs/heads/master
c: 7a295d1
h: refs/heads/master
i:
  357487: edbe079
v: v3
  • Loading branch information
Volokh Konstantin authored and Mauro Carvalho Chehab committed Feb 6, 2013
1 parent 9071cd5 commit 64371ae
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 61a2353c70d1f33c52768fb7d3fd7ee173928086
refs/heads/master: 7a295d1289f2be16f80f0a5242db330d542e0037
2 changes: 1 addition & 1 deletion trunk/drivers/staging/media/go7007/go7007-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,6 @@ static void go7007_usb_disconnect(struct usb_interface *intf)
struct urb *vurb, *aurb;
int i;

go->status = STATUS_SHUTDOWN;
usb_kill_urb(usb->intr_urb);

/* Free USB-related structs */
Expand All @@ -1269,6 +1268,7 @@ static void go7007_usb_disconnect(struct usb_interface *intf)
kfree(go->hpi_context);

go7007_remove(go);
go->status = STATUS_SHUTDOWN;
}

static struct usb_driver go7007_usb_driver = {
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/staging/media/go7007/go7007-v4l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1832,5 +1832,6 @@ void go7007_v4l2_remove(struct go7007 *go)
mutex_unlock(&go->hw_lock);
if (go->video_dev)
video_unregister_device(go->video_dev);
v4l2_device_unregister(&go->v4l2_dev);
if (go->status != STATUS_SHUTDOWN)
v4l2_device_unregister(&go->v4l2_dev);
}

0 comments on commit 64371ae

Please sign in to comment.