]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: mipi-i3c-hci: Call hci_dma_xfer_done() from dequeue path
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 3 Jun 2026 09:07:43 +0000 (12:07 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 14 Jun 2026 15:21:34 +0000 (17:21 +0200)
commit2dbe7832ae9c3026442fe5249a799a2278c0ebb6
tree92b802ef3f4a92899591eeaa51aa6bd998e02dea
parentdc8691bf4fc4487e6e0618e43b7abb5ab6408a4c
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>
drivers/i3c/master/mipi-i3c-hci/dma.c