Commit 1751b20
drivers: mspi_sqspi: Align with recent bug fixes in sQSPI driver
Now the `data_bit_reorder_unit` and `data_swap_unit` fields in the
`nrfx_qspi2_data_fmt_t` structure must match, otherwise the call to
`nrfx_qspi2_dev_data_fmt_set()` fails (what in fact happened unnoticed
by CI because of a missing check of the return value).
Update the `nrfx_qspi2_data_fmt_t` structure initialization and also
add missing checks of the return value in calls to nrfx_qspi2 driver
APIs.
Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit 1f4e54c)1 parent 1bed797 commit 1751b20
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
| 490 | + | |
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
496 | 497 | | |
497 | 498 | | |
498 | 499 | | |
| |||
513 | 514 | | |
514 | 515 | | |
515 | 516 | | |
516 | | - | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
517 | 522 | | |
518 | | - | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
519 | 528 | | |
520 | 529 | | |
521 | 530 | | |
| |||
0 commit comments