]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: mipi-i3c-hci: Factor out IO mode setting into helper
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 13 Jan 2026 07:26:56 +0000 (09:26 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 16:21:10 +0000 (17:21 +0100)
commite4269df518d62527ff6a8f3cd4740d754c4257cd
tree08c0f0eda9daee664767572d56a9a122d0a0ec45
parent57a2f976ac18b909e43cca51a63be26cbd62ab88
i3c: mipi-i3c-hci: Factor out IO mode setting into helper

Prepare for future reuse.  Move the IO mode setting logic from
i3c_hci_init() into a dedicated helper function, i3c_hci_set_io_mode().

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