Skip to content

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaitine committed Nov 25, 2024
1 parent e650cfd commit 84e7e23
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion arch/arm64/src/imx9/imx9_lpi2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -2091,7 +2091,12 @@ static int imx9_lpi2c_transfer(struct i2c_master_s *dev,
{
/* Acknowledge Failure */

i2cerr("Ack failure\n");
i2cerr("Ack failure, bus %d addr %x\n", priv->config->clk_root - CCM_CR_LPI2C1 + 1, priv->msgv->addr);

for (int i = 0; i < count; i++)
{
_alert("%d: %x, %d\n", i, msgs[i].addr, msgs[i].frequency);
}

ret = -ENXIO;
}
Expand Down

0 comments on commit 84e7e23

Please sign in to comment.