]> git.baikalelectronics.ru Git - kernel.git/commit
PCI / PM: Do not resume any devices in pci_pm_prepare()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Sep 2017 23:33:13 +0000 (01:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Sep 2017 00:22:36 +0000 (02:22 +0200)
commitf1fade33faf941a5fe0f0c8d1a58acacc993b89a
treeae187eb6b479ef7679ff04e561999f9103e1eaaf
parent7b0a8915e98b4018bc8f48f36ef1430ffe0e58c5
PCI / PM: Do not resume any devices in pci_pm_prepare()

It should not be necessary to resume devices with ignore_children set
in pci_pm_prepare(), because they should be resumed explicitly by
their children drivers during suspend if need be and they will be
resumed by pci_pm_suspend() after that anyway, so avoid doing that.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/pci-driver.c