mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
This commit is contained in:
commit
2166daca16
@ -6237,6 +6237,7 @@ mlxplat_pci_fpga_device_init(unsigned int device, const char *res_name, struct p
|
|||||||
fail_pci_request_regions:
|
fail_pci_request_regions:
|
||||||
pci_disable_device(pci_dev);
|
pci_disable_device(pci_dev);
|
||||||
fail_pci_enable_device:
|
fail_pci_enable_device:
|
||||||
|
pci_dev_put(pci_dev);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6247,6 +6248,7 @@ mlxplat_pci_fpga_device_exit(struct pci_dev *pci_bridge,
|
|||||||
iounmap(pci_bridge_addr);
|
iounmap(pci_bridge_addr);
|
||||||
pci_release_regions(pci_bridge);
|
pci_release_regions(pci_bridge);
|
||||||
pci_disable_device(pci_bridge);
|
pci_disable_device(pci_bridge);
|
||||||
|
pci_dev_put(pci_bridge);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user