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

Commit f42a458e authored by Sujeev Dias's avatar Sujeev Dias Committed by Gerrit - the friendly Code Review server
Browse files

mhi: core: do not assert for unhandled event type



Instead of asserting for unhandled events, log an error message
and continue since it's not fatal error.

CRs-Fixed: 2438062
Change-Id: Ia84016483ee0b0fb2a04f25c7c00ae250bb101f7
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent 5219be0f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1241,7 +1241,7 @@ int mhi_process_ctrl_ev_ring(struct mhi_controller *mhi_cntrl,
			break;
		}
		default:
			MHI_ASSERT(1, "Unsupported ev type");
			MHI_ERR("Unhandled Event: 0x%x\n", type);
			break;
		}