diff options
-rw-r--r-- | drivers/media/pci/dm1105/dm1105.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/pci/dm1105/dm1105.c b/drivers/media/pci/dm1105/dm1105.c index d0dfa5d07e33..f288ffcc4b6b 100644 --- a/drivers/media/pci/dm1105/dm1105.c +++ b/drivers/media/pci/dm1105/dm1105.c | |||
@@ -1128,8 +1128,10 @@ static int __devinit dm1105_probe(struct pci_dev *pdev, | |||
1128 | INIT_WORK(&dev->work, dm1105_dmx_buffer); | 1128 | INIT_WORK(&dev->work, dm1105_dmx_buffer); |
1129 | sprintf(dev->wqn, "%s/%d", dvb_adapter->name, dvb_adapter->num); | 1129 | sprintf(dev->wqn, "%s/%d", dvb_adapter->name, dvb_adapter->num); |
1130 | dev->wq = create_singlethread_workqueue(dev->wqn); | 1130 | dev->wq = create_singlethread_workqueue(dev->wqn); |
1131 | if (!dev->wq) | 1131 | if (!dev->wq) { |
1132 | ret = -ENOMEM; | ||
1132 | goto err_dvb_net; | 1133 | goto err_dvb_net; |
1134 | } | ||
1133 | 1135 | ||
1134 | ret = request_irq(pdev->irq, dm1105_irq, IRQF_SHARED, | 1136 | ret = request_irq(pdev->irq, dm1105_irq, IRQF_SHARED, |
1135 | DRIVER_NAME, dev); | 1137 | DRIVER_NAME, dev); |