]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pciehp: Implement runtime PM callbacks
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 27 Sep 2018 21:41:49 +0000 (16:41 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Oct 2018 21:04:40 +0000 (16:04 -0500)
commit93afeb4e3bf86db3453002c2404675ace50048ab
treef8c65c20da79e5e4d259db22bef7773591ab658f
parent8a3592e7f0dba1e0e4a6b656e10f1d724efeb55c
PCI: pciehp: Implement runtime PM callbacks

Basically we need to do the same thing when runtime suspending than with
system sleep so re-use those operations here. This makes sure hotplug
interrupt does not trigger immediately when the link goes down.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/pciehp_core.c