PCI: Add pci_fixup_suspend_late quirk pass
authorAndreas Noever <andreas.noever@gmail.com>
Tue, 3 Jun 2014 20:04:09 +0000 (22:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 21:08:41 +0000 (14:08 -0700)
commit7d2a01b87f1682fde87461864e6682031bfaa0a9
tree071da51f78bd9b2091ea9663be6d0dde4069492e
parent3364f0c12795713e89ae1209081c60d64bfb4ca1
PCI: Add pci_fixup_suspend_late quirk pass

Add pci_fixup_suspend_late as a new pci_fixup_pass. The pass is called
from suspend_noirq and poweroff_noirq. Using the same pass for suspend
and hibernate is consistent with resume_early which is called by
resume_noirq and restore_noirq.

The new quirk pass is required for Thunderbolt support on Apple
hardware.

Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pci-driver.c
drivers/pci/quirks.c
include/asm-generic/vmlinux.lds.h
include/linux/pci.h