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

Commit 9310eff4 authored by Sujeev Dias's avatar Sujeev Dias
Browse files

mhi: core: log device EE and device state inside intvec handler



For debugging purpose, always print the current execution
environment and device state whenever intvec handler is triggered.

CRs-Fixed: 2373857
Change-Id: Idf961573dbcd12c0797f94095a828dd5c675c6ef
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent 007b6cca
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1456,6 +1456,8 @@ irqreturn_t mhi_intvec_threaded_handlr(int irq_number, void *dev)
	if (MHI_REG_ACCESS_VALID(mhi_cntrl->pm_state)) {
		state = mhi_get_mhi_state(mhi_cntrl);
		ee = mhi_get_exec_env(mhi_cntrl);
		MHI_LOG("device ee:%s dev_state:%s\n", TO_MHI_EXEC_STR(ee),
			TO_MHI_STATE_STR(state));
	}

	if (state == MHI_STATE_SYS_ERR) {