mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
msm: pcie: Revert "scale CX and rate change after DRV resume"
This reverts commit 603d76db80.
This change is already present in the snapshot. This revert
will remove duplicate code.
Change-Id: Id4588031a93c041a9480ac8ef33b6d177a4a2477
Signed-off-by: Tony Truong <truong@codeaurora.org>
This commit is contained in:
parent
535241a5fb
commit
d161462d9d
1 changed files with 0 additions and 8 deletions
|
|
@ -6917,14 +6917,6 @@ static int msm_pcie_drv_resume(struct msm_pcie_dev_t *pcie_dev)
|
|||
|
||||
msm_pcie_scale_link_bandwidth(pcie_dev, current_link_speed);
|
||||
|
||||
/* scale CX and rate change based on current GEN speed */
|
||||
current_link_speed = readl_relaxed(pcie_dev->dm_core +
|
||||
PCIE20_CAP_LINKCTRLSTATUS);
|
||||
current_link_speed = ((current_link_speed >> 16) &
|
||||
PCI_EXP_LNKSTA_CLS);
|
||||
|
||||
msm_pcie_scale_link_bandwidth(pcie_dev, current_link_speed);
|
||||
|
||||
/* always ungate clkreq */
|
||||
msm_pcie_write_reg_field(pcie_dev->parf,
|
||||
PCIE20_PARF_CLKREQ_OVERRIDE,
|
||||
|
|
|
|||
Loading…
Reference in a new issue