Skip to content

Commit

Permalink
pcmcia: pd6729: Fix error path
Browse files Browse the repository at this point in the history
In error return path
call pci_disable_device() which was enabled earlier.

Signed-off-by: Rahul Ruikar <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
  • Loading branch information
rahulruikar authored and Dominik Brodowski committed Sep 26, 2010
1 parent 7cdffc8 commit 40d24ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pcmcia/pd6729.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ static int __devinit pd6729_pci_probe(struct pci_dev *dev,
if (!pci_resource_start(dev, 0)) {
dev_warn(&dev->dev, "refusing to load the driver as the "
"io_base is NULL.\n");
goto err_out_free_mem;
goto err_out_disable;
}

dev_info(&dev->dev, "Cirrus PD6729 PCI to PCMCIA Bridge at 0x%llx "
Expand Down

0 comments on commit 40d24ff

Please sign in to comment.