Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09a055bf authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: pcie: Save and restore config space for RC"

parents 0a2bfc30 0080b11c
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -1322,7 +1322,6 @@ static int msm_pcie_pm_suspend(struct pci_dev *dev, u32 rc_idx,

	if (dev) {
		ret = pci_save_state(dev);
		if (msm_pcie_dev[rc_idx].user_suspend)
		msm_pcie_dev[rc_idx].saved_state =
					pci_store_saved_state(dev);
	}
@@ -1407,7 +1406,6 @@ static int msm_pcie_pm_resume(struct pci_dev *dev, u32 rc_idx,
		PCIE_DBG("dev->bus->number = %d dev->bus->primary = %d\n",
			 dev->bus->number, dev->bus->primary);

		if (msm_pcie_dev[rc_idx].user_suspend)
		pci_load_and_free_saved_state(dev,
					&msm_pcie_dev[rc_idx].saved_state);