Commit fc1fe42
committed
Fix an error status handling issue of MRPC
If an error is encountered when executing the MRPC command, firmware
will set status register to SWITCHTEC_MRPC_STATUS_ERROR and return
the specific error code in return value register. Fix driver to
align with this behavior.1 parent dbd4558 commit fc1fe42
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
568 | 569 | | |
569 | 570 | | |
570 | 571 | | |
571 | | - | |
| 572 | + | |
| 573 | + | |
572 | 574 | | |
573 | 575 | | |
574 | 576 | | |
| |||
0 commit comments