Webdmaengine_terminate_all() is deprecated in favor of explicitly saying if it should be sync or async. Here, we want dmaengine_terminate_sync() because there is no other synchronization code in the driver to handle an async case. Signed-off-by: Wolfram Sang --- Morimoto-san, can you please double check … WebBut it is possible to call dmaengine_terminate_async () from atomic context or from within a complete callback. dmaengine_synchronize () must be called before it is safe to free the memory accessed by the DMA transfer or free resources accessed from within the …
dmaengine.h - include/linux/dmaengine.h - Linux source code
WebOct 25, 2024 · - dmaengine_terminate_sync (stm32_port->rx_ch); - goto err; + free_irq (port->irq, port); + return ret; } - - /* Issue pending DMA requests */ - dma_async_issue_pending (stm32_port->rx_ch); } - /* - * DMA request line not re-enabled at resume when port is throttled. - * It will be re-enabled by unthrottle ops. - */ Webdmaengine_terminate_sync() will wait for the transfer and any running complete callbacks to finish before it returns. But the function must not be called from atomic context or from … drink my sorrows away
DMA between PS and PL doesn
WebReplace dmaengine_terminate_all() by dmaengine_terminate_sync() to ensure that all pending dma operations are really finished. This is not ensured by dmaengine_terminate_all() and this API is deprecated, so better to use the _sync() variant. Signed-off-by: Hugues Fruchet WebOct 4, 2024 · > dmaengine_terminate_all() is deprecated in favor of explicitly saying if > it should be sync or async. Here, we want dmaengine_terminate_sync() > because … Web*PATCH v6 1/2] i2c: tegra: Fix PEC support for SMBUS block read 2024-04-14 4:07 [PATCH v6 0/2] Tegra I2C DMA and SMBus blockread updates Akhil R @ 2024-04-14 4:07 ` Akhil R 2024-04-14 4:07 ` [PATCH v6 2/2] i2c: tegra: Share same DMA channel for RX and TX Akhil R 1 sibling, 0 replies; 3+ messages in thread From: Akhil R @ 2024-04-14 4:07 … drink nightclub chicago