summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/plpar_wrappers.h
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2022-07-22 09:44:30 +0100
committerVinod Koul <vkoul@kernel.org>2022-07-26 18:27:50 +0530
commit7d3a3aaaa9cc8ec53e9ef4f3e1711827107f76c5 (patch)
treec62c10b20fb00099ce03f4dc5ba5cbd2e84303b3 /arch/powerpc/include/asm/plpar_wrappers.h
parent1e42f82cbec7b2cc4873751e7791e6611901c5fc (diff)
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>
Diffstat (limited to 'arch/powerpc/include/asm/plpar_wrappers.h')
0 files changed, 0 insertions, 0 deletions