Commit 19a1b61
i3c: master: Move rstdaa error suppression
Prepare to fix improper Mx positive error propagation in later
commits by handling Mx error codes where the i3c_ccc_cmd command
is allocated. Two of the four i3c_master_rstdaa_locked() are error
paths that already suppressed the return value, the remaining two
are changed to handle the I3C_ERROR_M2 Mx error code inside
i3c_master_rstdaa_locked(), checking cmd->err directly.
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Jorge Marques <jorge.marques@analog.com>
Link: https://patch.msgid.link/20260323-ad4062-positive-error-fix-v3-1-30bdc68004be@analog.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>1 parent 6105f49 commit 19a1b61
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
1046 | 1050 | | |
1047 | 1051 | | |
1048 | 1052 | | |
| |||
1821 | 1825 | | |
1822 | 1826 | | |
1823 | 1827 | | |
1824 | | - | |
| 1828 | + | |
1825 | 1829 | | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | 1830 | | |
1830 | 1831 | | |
1831 | 1832 | | |
| |||
2120 | 2121 | | |
2121 | 2122 | | |
2122 | 2123 | | |
2123 | | - | |
| 2124 | + | |
2124 | 2125 | | |
2125 | 2126 | | |
2126 | 2127 | | |
| |||
0 commit comments