drivers: i3c: Correct register to read IBI response

SLV_IBI_RESP is the register to read IBI response, not SLV_INTR_REQ

Signed-off-by: Nghia Phung <nghiap@amperecomputing.com>
This commit is contained in:
Nghia Phung 2025-06-12 16:21:43 +07:00 committed by Benjamin Cabé
commit fe2b374d00

View file

@ -1317,7 +1317,7 @@ static int dw_i3c_target_ibi_raise_tir(const struct device *dev, struct i3c_ibi
return -ETIMEDOUT;
}
slv_ibi_resp = sys_read32(config->regs + SLV_INTR_REQ);
slv_ibi_resp = sys_read32(config->regs + SLV_IBI_RESP);
switch (SLV_IBI_RESP_IBI_STS(slv_ibi_resp)) {
case SLV_IBI_RESP_IBI_STS_ACK:
LOG_DBG("%s: Controller ACKed IBI TIR", dev->name);