Commit b99d3b0b authored by takis@lumumba.luc.ac.be's avatar takis@lumumba.luc.ac.be Committed by Linus Torvalds

[PATCH] prism54 not releasing region

Remember to release the PCI regions on an error path.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent aae94db3
......@@ -163,7 +163,7 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id)
if (rvalue || !mem_addr) {
printk(KERN_ERR "%s: PCI device memory region not configured; fix your BIOS or CardBus bridge/drivers\n",
DRV_NAME);
goto do_pci_disable_device;
goto do_pci_release_regions;
}
/* enable PCI bus-mastering */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment