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

Commit 8a45ace8 authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Resume MHI after restoring PCI config space



During runtime PM resume, MHI needs to be resumed after restoring
PCI config space.

Change-Id: I5794445dcbdca4bd05b7bcfe8cd001a73c688613
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 8d0bafc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -638,11 +638,11 @@ int cnss_auto_resume(void)
		if (ret)
			cnss_pr_err("Failed to enable PCI device, err = %d\n",
				    ret);
		cnss_pci_set_mhi_state(pci_priv, CNSS_MHI_RESUME);
	}

	cnss_set_pci_config_space(pci_priv, RESTORE_PCI_CONFIG_SPACE);
	pci_set_master(pci_dev);
	cnss_pci_set_mhi_state(pci_priv, CNSS_MHI_RESUME);
	cnss_pci_set_auto_suspended(pci_priv, 0);

	bus_bw_info = &plat_priv->bus_bw_info;