diff options
| author | Claudiu Beznea <claudiu.beznea@tuxon.dev> | 2026-03-16 15:32:52 +0200 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-03-17 16:12:11 +0530 |
| commit | 44f991bd6e01bb6a3f78da98eafa6d2a72819a2f (patch) | |
| tree | 2ceaec53b4077b2b292ce6c984920ce283bdaff0 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 21323b118c16d287355e6497e1098ce1ca348bd6 (diff) | |
dmaengine: sh: rz-dmac: Add device_{pause,resume}() callbacks
The RZ/G2L SCIFA driver uses dmaengine_prep_slave_sg() to enqueue DMA
transfers and implements a timeout mechanism on RX to handle cases where
a DMA transfer does not complete. The timeout is implemented using an
hrtimer.
In the hrtimer callback, dmaengine_tx_status() is called (along with
dmaengine_pause()) to retrieve the transfer residue and handle incomplete
DMA transfers.
Add support for device_{pause, resume}() callbacks.
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20260316133252.240348-9-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
