]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: mvebu: Add suspend/resume support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 17 Mar 2015 14:55:45 +0000 (15:55 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 20 Mar 2015 23:23:14 +0000 (18:23 -0500)
commitab14d45ea58eae67c739e4ba01871cae7b6c4586
tree5e2a1b1bec1b452883cabd769fe93cf223bef555
parentc517d838eb7d07bbe9507871fab3931deccff539
PCI: mvebu: Add suspend/resume support

Add suspend/resume support for the mvebu PCIe host driver.  Without this
commit, the system will panic at resume time when PCIe devices are
connected.

Note that we have to use the ->suspend_noirq() and ->resume_noirq() hooks,
because at resume time, the PCI fixups are done at ->resume_noirq() time,
so the PCIe controller has to be ready at this point.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
drivers/pci/host/pci-mvebu.c