Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5760440b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Add code to do PCIe L2 suspend during shutdown"

parents cc15feec 54cab4df
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -746,6 +746,9 @@ int cnss_suspend_pci_link(struct cnss_pci_data *pci_priv)
			cnss_pr_err("Failed to set D3Hot, err =  %d\n", ret);
	}

	/* Always do PCIe L2 suspend during power off/PCIe link recovery */
	pci_priv->drv_connected_last = 0;

	ret = cnss_set_pci_link(pci_priv, PCI_LINK_DOWN);
	if (ret)
		goto out;