diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-07-07 06:36:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-03 22:20:06 +0200 |
commit | e4fd1f4a6e05335d464fe003c164fea850a3b3f3 (patch) | |
tree | fa1ed3dd97707d1a942f79ff8c8acfd32e2c2273 /drivers/pci/search.c | |
parent | pcie: fix warnings when CONFIG_PM=n (diff) | |
download | linux-e4fd1f4a6e05335d464fe003c164fea850a3b3f3.tar.xz linux-e4fd1f4a6e05335d464fe003c164fea850a3b3f3.zip |
PCIE: cleanup on probe error
If pcie_portdrv_probe() fails but it had already called
pci_enable_device(), then call pci_disable_device() when
returning error.
Is there some reason that this isn't being done?
or was it just missed?
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/search.c')
0 files changed, 0 insertions, 0 deletions