mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "msm: ep_pcie: Avoid writing req_L1_exit during dstate change"
This commit is contained in:
commit
d3b92de37c
1 changed files with 0 additions and 8 deletions
|
|
@ -2352,7 +2352,6 @@ static irqreturn_t ep_pcie_handle_dstate_change_irq(int irq, void *data)
|
|||
EP_PCIE_DBG(dev,
|
||||
"PCIe V%d: No. %ld change to D3 state\n",
|
||||
dev->rev, dev->d3_counter);
|
||||
ep_pcie_write_mask(dev->parf + PCIE20_PARF_PM_CTRL, 0, BIT(1));
|
||||
|
||||
dev->pme_en_d3 = readl_relaxed(dev->dm_core +
|
||||
PCIE20_CON_STATUS) & PCIE20_MASK_PME_EN;
|
||||
|
|
@ -2370,13 +2369,6 @@ static irqreturn_t ep_pcie_handle_dstate_change_irq(int irq, void *data)
|
|||
} else if (dstate == 0) {
|
||||
dev->l23_ready = false;
|
||||
dev->d0_counter++;
|
||||
/*
|
||||
* When device is trasistion back to D0 from D3hot
|
||||
* (without D3cold), REQ_EXIT_L1 bit won't get cleared.
|
||||
* And L1 would get blocked till next D3cold.
|
||||
* So clear it explicitly during D0.
|
||||
*/
|
||||
ep_pcie_write_mask(dev->parf + PCIE20_PARF_PM_CTRL, BIT(1), 0);
|
||||
|
||||
atomic_set(&dev->host_wake_pending, 0);
|
||||
EP_PCIE_DBG(dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue