diff options
| author | 2026-09-20 18:12:37 +0300 | |
|---|---|---|
| committer | 2026-09-21 23:25:36 +0200 | |
| commit | dcaabb080e0c9838f1240265a03fa9a386825b3b (patch) | |
| tree | db403ece9885a01b059ceaee2fc3b06c12d86889 /scripts/Makefile.thinlto | |
| parent | i3c: mipi-i3c-hci: Restore controller state if i3c_hci_enable_ibi() returns an error (diff) | |
i3c: mipi-i3c-hci: Send DISEC before disabling IBIs in hardware
Reorder i3c_hci_disable_ibi() so that DISEC is sent before IBIs are
disabled at the controller.
This matches the sequence used by other I3C controller drivers. It also
avoids dropping an IBI that races with the disable operation: an IBI
received after DISEC is issued but before the controller disables IBIs
can still be processed normally. Once DISEC has been sent, the hardware
can be updated to NACK subsequent IBIs and complete the teardown.
No functional change is intended beyond aligning the ordering with other
drivers and handling the race window consistently.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260920151248.46936-8-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
