]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: mipi-i3c-hci: Refactor PIO register initialization
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 13 Jan 2026 07:26:53 +0000 (09:26 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 16:21:10 +0000 (17:21 +0100)
commitca4d4682d353bf4e7e5db7b025e9ecd80bc67b27
tree8cd04db7cfd6982023efa4248533a064d818d17f
parent8169587204431ce23df9522c2e859b5238934c42
i3c: mipi-i3c-hci: Refactor PIO register initialization

Move the PIO register setup logic out of hci_pio_init() into a new
helper, __hci_pio_init().  This refactoring prepares for Runtime PM
support by allowing PIO registers 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-13-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/pio.c