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

Commit b44cfe02 authored by Yuanyuan Liu's avatar Yuanyuan Liu
Browse files

cnss2: Assert CNSS when MHI failed to start



Assert CNSS when MHI failed to start as this is a fatal error for
CNSS powerup sequence.

CRs-Fixed: 2421893
Change-Id: I8a1d88f44b978f42f04b124a1de2a16a9026cd00
Signed-off-by: default avatarYuanyuan Liu <yuanliu@codeaurora.org>
parent 2acd0f4c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -701,6 +701,7 @@ static int cnss_qca6290_powerup(struct cnss_pci_data *pci_priv)
	ret = cnss_pci_start_mhi(pci_priv);
	if (ret) {
		cnss_fatal_err("Failed to start MHI, err = %d\n", ret);
		CNSS_ASSERT(0);
		if (!test_bit(CNSS_DEV_ERR_NOTIFY, &plat_priv->driver_state) &&
		    !pci_priv->pci_link_down_ind && timeout)
			mod_timer(&plat_priv->fw_boot_timer,