mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
i3c: mipi-i3c-hci: Call hci_dma_xfer_done() from dequeue path
hci_dma_dequeue_xfer() relies on state normally updated by the DMA interrupt handler. Ensure that state is current by explicitly invoking hci_dma_xfer_done() from the dequeue path. This handles cases where the interrupt handler has not (yet) run. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260603090754.16252-7-adrian.hunter@intel.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
dc8691bf4f
commit
2dbe7832ae
|
|
@ -635,6 +635,8 @@ static bool hci_dma_dequeue_xfer(struct i3c_hci *hci,
|
|||
}
|
||||
}
|
||||
|
||||
hci_dma_xfer_done(hci, rh);
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
struct hci_xfer *xfer = xfer_list + i;
|
||||
int idx = xfer->ring_entry;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user