1
0
Files
linux/drivers/misc
Michael Neuling 7f436b534d cxl: Fix error path on probe
When probing we call pci_enable_device() but don't call pci_disable_device() on
fail. This causes refcounting issues in the PCI subsystem if a second driver
tries to bind to the same device.

This patch adds the pci_disable_device() to the probe error path. This error
path is hit when this cxl driver tries to bind to AFUs (on the vPHB) rather
than the physical device.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-06-03 13:27:17 +10:00
..
2015-06-03 13:27:17 +10:00
2014-02-28 14:08:42 -08:00
2015-04-03 16:15:30 +02:00
2015-03-16 21:10:28 +01:00
2014-10-08 20:15:56 +11:00