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

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

Merge "msm: ep_pcie: Vote for pipe clk for early init case"

parents 8ff6c4c3 88664300
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1403,6 +1403,15 @@ int ep_pcie_core_enable_endpoint(enum ep_pcie_options opt)
				ep_pcie_core_init(dev, true);
				dev->link_status = EP_PCIE_LINK_UP;
				dev->l23_ready = false;

				/* enable pipe clock for early link init case*/
				ret = ep_pcie_pipe_clk_init(dev);
				if (ret) {
					EP_PCIE_ERR(dev,
					"PCIe V%d: failed to enable pipe clock\n",
					dev->rev);
					goto pipe_clk_fail;
				}
				goto checkbme;
			} else {
				ltssm_en = readl_relaxed(dev->parf