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

Commit 4ae45ad9 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: Set link state when the link is up."

parents 850e5020 7d23095b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1000,6 +1000,7 @@ static int msm_pcie_enable(struct msm_pcie_dev_t *dev, u32 options)
	if (dev->l1ss_supported)
		msm_pcie_config_l1ss(dev);

	dev->link_status = MSM_PCIE_LINK_ENABLED;
	goto out;

link_fail:
@@ -1008,7 +1009,6 @@ clk_fail:
	msm_pcie_vreg_deinit(dev);
	msm_pcie_pipe_clk_deinit(dev);
out:
	dev->link_status = MSM_PCIE_LINK_ENABLED;
	mutex_unlock(&setup_lock);

	return ret;