|
@@ -4239,6 +4239,7 @@ fail0:
|
|
|
iounmap(btv->bt848_mmio);
|
|
|
release_mem_region(pci_resource_start(btv->c.pci,0),
|
|
|
pci_resource_len(btv->c.pci,0));
|
|
|
+ pci_disable_device(btv->c.pci);
|
|
|
return result;
|
|
|
}
|
|
|
|
|
@@ -4282,6 +4283,7 @@ static void bttv_remove(struct pci_dev *pci_dev)
|
|
|
iounmap(btv->bt848_mmio);
|
|
|
release_mem_region(pci_resource_start(btv->c.pci,0),
|
|
|
pci_resource_len(btv->c.pci,0));
|
|
|
+ pci_disable_device(btv->c.pci);
|
|
|
|
|
|
v4l2_device_unregister(&btv->c.v4l2_dev);
|
|
|
bttvs[btv->c.nr] = NULL;
|