analogdevicesinc / no-OS

Software drivers in C for systems without an operating system
http://analogdevicesinc.github.io/no-OS/
Other
927 stars 1.65k forks source link

drivers: spi_engine: Dont hardcode rx dma size #2241

Closed ahaslam2 closed 3 months ago

ahaslam2 commented 3 months ago

The rx offload size can be 2, 4 or more bytes, it should use the size read from the IP and not be hardcoded to 4.

PR Type

PR Checklist

ahaslam2 commented 3 months ago

@dbogdan Here is the fix for the hardcoded rx size.