|
@@ -725,17 +725,17 @@ static int __devinit pd6729_pci_probe(struct pci_dev *dev,
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
- err_out_free_res2:
|
|
|
|
|
|
+err_out_free_res2:
|
|
if (irq_mode == 1)
|
|
if (irq_mode == 1)
|
|
free_irq(dev->irq, socket);
|
|
free_irq(dev->irq, socket);
|
|
else
|
|
else
|
|
del_timer_sync(&socket->poll_timer);
|
|
del_timer_sync(&socket->poll_timer);
|
|
- err_out_free_res:
|
|
|
|
|
|
+err_out_free_res:
|
|
pci_release_regions(dev);
|
|
pci_release_regions(dev);
|
|
- err_out_disable:
|
|
|
|
|
|
+err_out_disable:
|
|
pci_disable_device(dev);
|
|
pci_disable_device(dev);
|
|
|
|
|
|
- err_out_free_mem:
|
|
|
|
|
|
+err_out_free_mem:
|
|
kfree(socket);
|
|
kfree(socket);
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|