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

Commit e316ca21 authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Do not deinit MHI right after powerup failure



Immediately deinit MHI after powerup failure will clear all the
MHI context so it won't be able to enter RDDM state to collect
firmware RAM dump. Leave the cleanup to SSR shutdown routine.

Change-Id: Ibbbe3ffe3c471f69dd4fc89d7cfaf57f1f899a92
CRs-fixed: 2059087
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent e46b9576
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1366,12 +1366,10 @@ int cnss_pci_start_mhi(struct cnss_pci_data *pci_priv)

	ret = cnss_pci_set_mhi_state(pci_priv, CNSS_MHI_POWER_ON);
	if (ret)
		goto deinit_mhi;
		goto out;

	return 0;

deinit_mhi:
	cnss_pci_set_mhi_state(pci_priv, CNSS_MHI_DEINIT);
out:
	return ret;
}