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

Commit 80da1a32 authored by Tony Truong's avatar Tony Truong
Browse files

msm: pcie: switch API for tuning EQ preset request vector configuration



Instead of using msm_pcie_write_mask, use msm_pcie_write_reg_field
which will shift the write value based on the mask.

Change-Id: Ie125655776d9ab0091d9ef813e1761126e920549
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 4fc723f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3779,7 +3779,7 @@ static int msm_pcie_link_train(struct msm_pcie_dev_t *dev)
	msm_pcie_write_mask(dev->dm_core,
		PCIE_GEN3_EQ_CONTROL, 0x20);

	msm_pcie_write_mask(dev->dm_core + PCIE_GEN3_EQ_CONTROL,
	msm_pcie_write_reg_field(dev->dm_core, PCIE_GEN3_EQ_CONTROL,
				PCIE_GEN3_EQ_PSET_REQ_VEC_MASK,
				dev->eq_pset_req_vec);