diff options
| author | 2026-09-20 18:12:36 +0300 | |
|---|---|---|
| committer | 2026-09-21 23:25:36 +0200 | |
| commit | ad869331ac616bf192c04081ef7e206e1d106ad8 (patch) | |
| tree | 9da54f0cbcfad42217de7b2ee20af91754e9829b /scripts/Makefile.thinlto | |
| parent | i3c: master: Remove stale GETSTATUS length check (diff) | |
i3c: mipi-i3c-hci: Restore controller state if i3c_hci_enable_ibi() returns an error
i3c_hci_enable_ibi() performs controller-side setup before sending the
ENEC CCC to enable IBIs on the target. If the ENEC CCC fails, the
function returns an error but leaves the controller configured as if IBI
enabling had succeeded.
Fix the error path by undoing the earlier setup when the ENEC CCC fails,
ensuring the controller state remains consistent with the failed enable
operation.
Fixes: 9ad9a52cce282 ("i3c/master: introduce the mipi-i3c-hci driver")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260920151248.46936-7-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
