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

Commit 10426ae5 authored by Alok Chauhan's avatar Alok Chauhan
Browse files

i3c: master-qcom-geni: Log i3c state in error scenario



Log i3c registers status at the time of error. This will
help in debug.

Change-Id: If175248d28f015ec6b53a79cebb218e740a3e106
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent 9d46c0e4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -309,6 +309,8 @@ static void geni_i3c_err(struct geni_i3c_dev *gi3c, int err)

	dev_dbg(gi3c->se.dev, "%s\n", gi3c_log[err].msg);
	gi3c->err = gi3c_log[err].err;

	geni_se_dump_dbg_regs(&gi3c->se.i3c_rsc, gi3c->se.base, gi3c->ipcl);
}

static irqreturn_t geni_i3c_irq(int irq, void *dev)