mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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: Tony Truong <truong@codeaurora.org>
This commit is contained in:
parent
4fc723f7af
commit
80da1a3297
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue