zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.85k stars 6.61k forks source link

drivers: spi: fix the bug for atcspi200 #72831

Open kevinwang821020 opened 5 months ago

kevinwang821020 commented 5 months ago

Fixe the bug in some corner case when spi using dma scatter transfer mode. Mainly to modify the error in the calculation of the block count and the size contained when the lengths of tx and rx are not equal. This change has been verified on the adp_xc7k/ae350 board.

github-actions[bot] commented 1 month ago

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.