mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
msm: pcie: remove read to PCIe ELBI_SYS_CTRL reg after PME_TURNOFF
After sending PME_TURNOFF message via ELBI_SYS_CTRL register, remove read back to the register to avoid possible hang. Change-Id: Ie424006991f10f12127f9b5a07a93c291c7a2f10 Signed-off-by: Tony Truong <truong@codeaurora.org>
This commit is contained in:
parent
b38b5109bf
commit
bccdbc1d48
1 changed files with 2 additions and 2 deletions
|
|
@ -6643,8 +6643,8 @@ static int msm_pcie_pm_suspend(struct pci_dev *dev,
|
|||
spin_unlock_irqrestore(&pcie_dev->cfg_lock,
|
||||
pcie_dev->irqsave_flags);
|
||||
|
||||
msm_pcie_write_mask(pcie_dev->elbi + PCIE20_ELBI_SYS_CTRL, 0,
|
||||
BIT(4));
|
||||
writel_relaxed(BIT(4), pcie_dev->elbi + PCIE20_ELBI_SYS_CTRL);
|
||||
wmb(); /* ensure changes propagated to the hardware */
|
||||
|
||||
PCIE_DBG(pcie_dev, "RC%d: PME_TURNOFF_MSG is sent out\n",
|
||||
pcie_dev->rc_idx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue