Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40d24ff9 authored by Rahul Ruikar's avatar Rahul Ruikar Committed by Dominik Brodowski
Browse files

pcmcia: pd6729: Fix error path



In error return path
call pci_disable_device() which was enabled earlier.

Signed-off-by: default avatarRahul Ruikar <rahul.ruikar@gmail.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 7cdffc86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 "