]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: stm32-dma3: add device_pause and device_resume ops
authorAmelie Delaunay <amelie.delaunay@foss.st.com>
Fri, 31 May 2024 15:07:08 +0000 (17:07 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 11 Jun 2024 18:25:34 +0000 (23:55 +0530)
commitb62a13071cffad03690ee19656248077cb388a14
tree52579a006a669e6eac2b938b36f8d9e327a35a88
parentb3b893a937764731c41423aab4cc0c1a6821e31e
dmaengine: stm32-dma3: add device_pause and device_resume ops

STM32 DMA3 controller is able to suspend an ongoing transfer (the transfer
is suspended after the ongoing burst is flushed to the destination) and
resume it from the point it was suspended. No need to reconfigure any
register.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20240531150712.2503554-9-amelie.delaunay@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/stm32/stm32-dma3.c