]> git.ipfire.org Git - thirdparty/linux.git/commit
i3c: mipi-i3c-hci: Factor out reset-and-restore helper
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 3 Jun 2026 09:07:49 +0000 (12:07 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 14 Jun 2026 15:21:34 +0000 (17:21 +0200)
commit3cfb40ba9501e35ee4b8a4a244f0b3817dfffdec
treeeee3129a97080c7056c14b4b5b4e8dd4578a5d3d
parent352d89067f78f27fc7b72e571fadf08d1d637ecb
i3c: mipi-i3c-hci: Factor out reset-and-restore helper

Factor the reset-and-restore sequence out of i3c_hci_rpm_resume() into
a separate helper.

This allows the same logic to be reused for recovery paths in subsequent
changes without duplicating suspend/resume handling.

No functional change.

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