]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pciehp: Resume parent to D0 on config space access
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Jul 2018 22:27:57 +0000 (17:27 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 31 Jul 2018 16:09:36 +0000 (11:09 -0500)
commit4da7f6700e04ba9d28659542f35e40a3bf802992
tree0e498444068e5ba5e4d8a280d972faabd2ff1e22
parentcbbaa4df3e04a40957d5b832c27d0049cda9132d
PCI: pciehp: Resume parent to D0 on config space access

Ensure accessibility of a hotplug port's config space when accessed via
sysfs by resuming its parent to D0.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Yinghai Lu <yinghai@kernel.org>
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_hpc.c