arikimari opened a new pull request, #16938:
URL: https://github.com/apache/nuttx/pull/16938

   ## Summary
   
   Fat_zero_cluster() use fs_heap_malloc() for buffer that is used to call 
fat_hwread().
   Fat_hwread() must be called with IO buffer that have proper alingment 
because it might use DMA.
   
   Fix changes fs_heap_malloc() to fat_io_alloc() which uses correct 
fat_dma_alloc() if CONFIG_FAT_DMAMEMORY is defined.
   
   ## Impact
   
   This is a bugfix.
   Impacts HW that is build with CONFIG_FAT_DMAMEMORY flag
   No impact on build
   No impact on documentation
   
   ## Testing
   
   Tested with custom imx93 hw that uses DMA for mmcsd/fat32
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to