mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
pci:msm: Implement SUSPEND LATE for switch support
Changes are to save and restore PCI switch config space as part of suspend late using framework support. Framework does save and resore post suspend and prior to suspend late, hence this change is important for switch. Change-Id: I1aa06ad43d647fb8deb8cf15903c91d43344553c Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
This commit is contained in:
parent
c0674405ba
commit
c89d4e16c8
1 changed files with 1 additions and 1 deletions
|
|
@ -7392,7 +7392,7 @@ static void msm_pcie_fixup_suspend(struct pci_dev *dev)
|
|||
|
||||
mutex_unlock(&pcie_dev->recovery_lock);
|
||||
}
|
||||
DECLARE_PCI_FIXUP_SUSPEND(PCIE_VENDOR_ID_QCOM, PCI_ANY_ID,
|
||||
DECLARE_PCI_FIXUP_SUSPEND_LATE(PCIE_VENDOR_ID_QCOM, PCI_ANY_ID,
|
||||
msm_pcie_fixup_suspend);
|
||||
|
||||
/* Resume the PCIe link */
|
||||
|
|
|
|||
Loading…
Reference in a new issue