]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: renesas: Factor out hardware initialization to separate function
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Wed, 7 Jan 2026 10:33:49 +0000 (11:33 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 14:54:26 +0000 (15:54 +0100)
commit5eb3e8763e076a47ab145c5fafcf39f1ac7c7aee
tree3da4ef2bf9af7a466e4e5283c0b2627ede8426f1
parentff4e4f03f0089635b3476d68f5b8833ea67adad6
i3c: renesas: Factor out hardware initialization to separate function

Move the hardware initialization sequence in renesas_i3c_bus_init()
into a dedicated renesas_i3c_hw_init() helper.

Simplify the code and prepare the driver for upcoming suspend/resume
support.

No functional change intended.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Link: https://patch.msgid.link/795327270a6ceb23e15513a2619a19ae4876cfba.1767781092.git.tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/renesas-i3c.c