]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: mipi-i3c-hci: Extract ring initialization from hci_dma_init()
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 13 Jan 2026 07:26:51 +0000 (09:26 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 16:21:09 +0000 (17:21 +0100)
commitf5401c973e7f08cdd921c62079ac2514a9b69397
tree5177781ef35f94c4571a61272cefb8c74060db30
parentf180524a4877329bca4285e36f1fad63b70577ea
i3c: mipi-i3c-hci: Extract ring initialization from hci_dma_init()

Split the ring setup logic out of hci_dma_init() into a new helper
hci_dma_init_rings().  This refactoring prepares for Runtime PM support
by allowing DMA rings to be reinitialized independently after resume.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260113072702.16268-11-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/dma.c