]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: mipi-i3c-hci: Reset RING_OPERATION1 fields during init
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 13 Jan 2026 07:26:42 +0000 (09:26 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 16:21:09 +0000 (17:21 +0100)
commit78f63ae4a82db173f93adca462e63d11ba06b126
tree907ebee3ae7e37f19c5933b53ed60ef9d8742238
parent3502cea99c7ceb331458cbd34ef6792c83144687
i3c: mipi-i3c-hci: Reset RING_OPERATION1 fields during init

The MIPI I3C HCI specification does not define reset values for
RING_OPERATION1 fields, and some controllers (e.g., Intel) do not clear
them during a software reset.  Ensure the ring pointers are explicitly
set to zero during bus initialization to avoid inconsistent state.

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