浏览代码

Revert "cnss2: Resume PCI bus before reading registers"

This reverts commit a633e6ce826284b059d27f04de4f829a407142d3.

Change-Id: I0947e545338b3159db63fc5482ccd8b709166785
Linux Image Build Automation 2 年之前
父节点
当前提交
7d79a3f178
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      cnss2/pci.c

+ 0 - 5
cnss2/pci.c

@@ -5603,11 +5603,6 @@ int cnss_pci_force_fw_assert_hdlr(struct cnss_pci_data *pci_priv)
 	ret = cnss_pci_pm_runtime_get_sync(pci_priv, RTPM_ID_CNSS);
 	if (ret < 0)
 		goto runtime_pm_put;
-	/*
-	 * In some scenarios, cnss_pci_pm_runtime_get_sync
-	 * might not resume PCI bus. For those cases do auto resume.
-	 */
-	cnss_auto_resume(&pci_priv->pci_dev->dev);
 
 	if (!pci_priv->is_smmu_fault)
 		cnss_pci_mhi_reg_dump(pci_priv);