diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 34bf0fdf5047c63dc6aefebc35a8b26b8699009e..1a91bf9687af969c69f26c8e67fca08747c0d426 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -557,7 +557,8 @@ static int pci_platform_power_transition(struct pci_dev *dev, pci_power_t state) } else { error = -ENODEV; /* Fall back to PCI_D0 if native PM is not supported */ - pci_update_current_state(dev, PCI_D0); + if (!dev->pm_cap) + dev->current_state = PCI_D0; } return error;