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

Commit da5ae2d3 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: switch GPIO to sleep state before asserting PERST" into msm-4.9

parents 3f016b3c 4e96978e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6764,12 +6764,12 @@ static int msm_pcie_pm_suspend(struct pci_dev *dev,
		PCIE_DBG(pcie_dev, "RC%d: PM_Enter_L23 is NOT received\n",
			pcie_dev->rc_idx);

		msm_pcie_disable(pcie_dev, PM_PIPE_CLK | PM_CLK | PM_VREG);

	if (pcie_dev->use_pinctrl && pcie_dev->pins_sleep)
		pinctrl_select_state(pcie_dev->pinctrl,
					pcie_dev->pins_sleep);

	msm_pcie_disable(pcie_dev, PM_PIPE_CLK | PM_CLK | PM_VREG);

	PCIE_DBG(pcie_dev, "RC%d: exit\n", pcie_dev->rc_idx);

	return ret;