mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
msm: pci: Disable dumping PCIe register when link is suspending
Disabling dumping PCIE regisers in handle linkdown while pcie link is in suspend state. Change-Id: I6f97529e2784c35c03141628d32ddb061d1defde Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
This commit is contained in:
parent
f64d2bf563
commit
38482ed249
1 changed files with 8 additions and 6 deletions
|
|
@ -4885,12 +4885,14 @@ static void msm_pcie_handle_linkdown(struct msm_pcie_dev_t *dev)
|
|||
dev->link_status = MSM_PCIE_LINK_DOWN;
|
||||
dev->shadow_en = false;
|
||||
|
||||
/* PCIe registers dump on link down */
|
||||
PCIE_DUMP(dev, "PCIe:Linkdown IRQ for RC%d Dumping PCIe registers\n",
|
||||
dev->rc_idx);
|
||||
pcie_phy_dump(dev);
|
||||
pcie_parf_dump(dev);
|
||||
pcie_dm_core_dump(dev);
|
||||
if (!dev->suspending) {
|
||||
/* PCIe registers dump on link down */
|
||||
PCIE_DUMP(dev, "PCIe:Linkdown IRQ for RC%d Dumping PCIe registers\n",
|
||||
dev->rc_idx);
|
||||
pcie_phy_dump(dev);
|
||||
pcie_parf_dump(dev);
|
||||
pcie_dm_core_dump(dev);
|
||||
}
|
||||
|
||||
/* assert PERST */
|
||||
if (!(msm_pcie_keep_resources_on & BIT(dev->rc_idx)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue