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

Commit c469b5b0 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: correct probe state update"

parents 284c46c5 4600d3e1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2715,6 +2715,8 @@ static int msm_pcie_probe(struct platform_device *pdev)
		goto decrease_rc_num;
	}

	msm_pcie_dev[rc_idx].drv_ready = true;

	if (msm_pcie_dev[rc_idx].ep_wakeirq) {
		PCIE_DBG(&msm_pcie_dev[rc_idx],
			"PCIe: RC%d will be enumerated upon WAKE signal from Endpoint.\n",
@@ -2736,8 +2738,6 @@ static int msm_pcie_probe(struct platform_device *pdev)
	PCIE_DBG(&msm_pcie_dev[rc_idx], "PCIE probed %s\n",
		dev_name(&(pdev->dev)));

	msm_pcie_dev[rc_idx].drv_ready = true;

	mutex_unlock(&pcie_drv.drv_lock);
	return 0;