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

Commit 94888a83 authored by Rama Krishna Phani A's avatar Rama Krishna Phani A
Browse files

msm: ep_pcie: Remove invalid return value



Enumeration can be called as part of handling PERST
interrupt as well as from probe function. Remove invalid
error value being returned and skip initialization of
PCIe resources if already done.

Change-Id: Idcae4fe98ccc06c98042b89060dae66018808f27
Signed-off-by: default avatarRama Krishna Phani A <rphani@codeaurora.org>
parent a74a42c2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1050,7 +1050,6 @@ int ep_pcie_core_enable_endpoint(enum ep_pcie_options opt)
		EP_PCIE_ERR(dev,
			"PCIe V%d: request to turn on the power when link is already powered on.\n",
			dev->rev);
		ret = EP_PCIE_ERROR;
		goto out;
	}