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

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

Merge "cnss2: Assert if MHI resume fails"

parents fa06758f c265a8fa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1099,6 +1099,10 @@ static int cnss_pci_set_mhi_state(struct cnss_pci_data *pci_priv,
out:
	cnss_pr_err("Failed to set MHI state: %s(%d)\n",
		    cnss_mhi_state_to_str(mhi_state), mhi_state);

	if (mhi_state == CNSS_MHI_RESUME)
		CNSS_ASSERT(0);

	return ret;
}