aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index afee2de3f323..3dcb83d7eb25 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -445,7 +445,7 @@ pci_enable_device_bars(struct pci_dev *dev, int bars)
445 int err; 445 int err;
446 446
447 err = pci_set_power_state(dev, PCI_D0); 447 err = pci_set_power_state(dev, PCI_D0);
448 if (err) 448 if (err < 0 && err != -EIO)
449 return err; 449 return err;
450 err = pcibios_enable_device(dev, bars); 450 err = pcibios_enable_device(dev, bars);
451 if (err < 0) 451 if (err < 0)