WSL2-Linux-Kernel/drivers/dma/sh
Biju Das 7d3a3aaaa9 dmaengine: sh: rz-dmac: Add device_synchronize callback
Some on-chip peripheral modules(for eg:- rspi) on RZ/G2L SoC
use the same signal for both interrupt and DMA transfer requests.
The signal works as a DMA transfer request signal by setting
DMARS, and subsequent interrupt requests to the interrupt controller
are masked.

We can re-enable the interrupt by clearing the DMARS.

This patch adds device_synchronize callback for clearing
DMARS and thereby allowing DMA consumers to switch to
interrupt mode.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20220722084430.969333-1-biju.das.jz@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-07-26 18:27:50 +05:30
..
Kconfig dmaengine: sh: Kconfig: Make RZ_DMAC depend on ARCH_RZG2L 2022-04-08 23:22:00 +05:30
Makefile
rcar-dmac.c dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size 2022-02-15 11:00:13 +05:30
rz-dmac.c dmaengine: sh: rz-dmac: Add device_synchronize callback 2022-07-26 18:27:50 +05:30
shdma-arm.h
shdma-base.c dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error" 2022-03-10 10:13:20 +05:30
shdma.h
shdmac.c
usb-dmac.c