masayuki2009 opened a new pull request #1620: URL: https://github.com/apache/incubator-nuttx/pull/1620
## Summary - This commit fixes IRQ control for the following use case - The gs2200m Wi-Fi driver requests SPI-DMA to receive a packet. - cxd56_dma.c enables IRQ for the SPI-DMA and start transfer. - Then LCD driver requests SPI-DMA to display an image. - These SPI-DMAs use different DMA channels but share the DMA controller. - Also, they share the same IRQ. - When the first SPI-DMA finishes the transfer, it disables the IRQ. - And if the second SPI-DMA finishes the transfer just after the IRQ disabled. - The second SPI-DMA will be in a deadlock condition. - To resolve this issue, do not control IRQ during DMA transfer. - Instead, up_enable_irq() is called in up_dma_initialize() ## Impact - All use cases which use DMA ## Testing - Tested with spresense:wifi with LCD ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
