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

Commit 926dbc40 authored by Sujeev Dias's avatar Sujeev Dias
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 50e7afbf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1221,7 +1221,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;
		}