0d971d4673
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 Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> |
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |