Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202057
b: refs/heads/master
c: 07204ae
h: refs/heads/master
i:
  202055: 5bf09c5
v: v3
  • Loading branch information
Perceval Anichini authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 4298857 commit 928e551
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe85ce90abae7f7876a9ae8f76649586fe73d5a2
refs/heads/master: 07204aea1454db404141e95fc124536a6e0f6aa0
5 changes: 5 additions & 0 deletions trunk/drivers/media/video/hdpvr/hdpvr-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ static int hdpvr_probe(struct usb_interface *interface,
goto error;
}

dev->workqueue = 0;

/* register v4l2_device early so it can be used for printks */
if (v4l2_device_register(&interface->dev, &dev->v4l2_dev)) {
err("v4l2_device_register failed");
Expand Down Expand Up @@ -380,6 +382,9 @@ static int hdpvr_probe(struct usb_interface *interface,

error:
if (dev) {
/* Destroy single thread */
if (dev->workqueue)
destroy_workqueue(dev->workqueue);
/* this frees allocated memory */
hdpvr_delete(dev);
}
Expand Down

0 comments on commit 928e551

Please sign in to comment.