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

Commit b7b761b9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Set resume bit for MHI before power off"

parents 6fc356be 7ff504b4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1355,6 +1355,7 @@ void cnss_pci_stop_mhi(struct cnss_pci_data *pci_priv)

	plat_priv = pci_priv->plat_priv;

	cnss_pci_set_mhi_state_bit(pci_priv, CNSS_MHI_RESUME);
	cnss_pci_set_mhi_state(pci_priv, CNSS_MHI_POWER_OFF);
	if (!plat_priv->ramdump_info_v2.dump_data_valid)
		cnss_pci_set_mhi_state(pci_priv, CNSS_MHI_DEINIT);