mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "msm: pci: Disable dumping PCIe register when link is suspending"
This commit is contained in:
commit
63d0cc6771
1 changed files with 8 additions and 6 deletions
|
|
@ -5230,12 +5230,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