]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jun 2021 15:35:18 +0000 (17:35 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jun 2021 15:35:18 +0000 (17:35 +0200)
commit95384a237ef7e4baccbf68f17674cee6038276fd
tree2f9bc24631f713b9901f1d3520824c504f32b6d2
parentc6de18cbc82363742b3e5ae9084ce57f72e214f0
Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"

Revert commit c92c783edd48 ("PCI: PM: Do not read power state in
pci_enable_device_flags()") that is reported to cause PCI device
initialization issues on some systems.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213481
Link: https://lore.kernel.org/linux-acpi/YNDoGICcg0V8HhpQ@eldamar.lan
Reported-by: Michael <phyre@rogers.com>
Reported-by: Salvatore Bonaccorso <carnil@debian.org>
Fixes: c92c783edd48 ("PCI: PM: Do not read power state in pci_enable_device_flags()")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/pci.c