Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41091
b: refs/heads/master
c: 5718bbd
h: refs/heads/master
i:
  41089: d6033a9
  41087: a3d2033
v: v3
  • Loading branch information
Luca Risolia authored and Mauro Carvalho Chehab committed Nov 26, 2006
1 parent 0e90277 commit 717ba48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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: a5bbc7d94cf1dcb2100eeaf68791a401ad7ce54d
refs/heads/master: 5718bbd2d92b9c2aa2f5700e4d3ed9d72f72f47e
3 changes: 1 addition & 2 deletions trunk/drivers/media/video/et61x251/et61x251_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1182,8 +1182,6 @@ static void et61x251_release_resources(struct et61x251_device* cam)
video_set_drvdata(cam->v4ldev, NULL);
video_unregister_device(cam->v4ldev);

usb_put_dev(cam->usbdev);

mutex_unlock(&et61x251_sysfs_lock);

kfree(cam->control_buffer);
Expand Down Expand Up @@ -1275,6 +1273,7 @@ static int et61x251_release(struct inode* inode, struct file* filp)

if (cam->state & DEV_DISCONNECTED) {
et61x251_release_resources(cam);
usb_put_dev(cam->usbdev);
mutex_unlock(&cam->dev_mutex);
kfree(cam);
return 0;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/media/video/sn9c102/sn9c102_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1462,8 +1462,6 @@ static void sn9c102_release_resources(struct sn9c102_device* cam)
video_set_drvdata(cam->v4ldev, NULL);
video_unregister_device(cam->v4ldev);

usb_put_dev(cam->usbdev);

mutex_unlock(&sn9c102_sysfs_lock);

kfree(cam->control_buffer);
Expand Down Expand Up @@ -1555,6 +1553,7 @@ static int sn9c102_release(struct inode* inode, struct file* filp)

if (cam->state & DEV_DISCONNECTED) {
sn9c102_release_resources(cam);
usb_put_dev(cam->usbdev);
mutex_unlock(&cam->dev_mutex);
kfree(cam);
return 0;
Expand Down

0 comments on commit 717ba48

Please sign in to comment.