aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2022-07-22 09:44:30 +0100
committerVinod Koul <[email protected]>2022-07-26 18:27:50 +0530
commit7d3a3aaaa9cc8ec53e9ef4f3e1711827107f76c5 (patch)
treec62c10b20fb00099ce03f4dc5ba5cbd2e84303b3 /lib/test_fortify/write_overflow-strncpy.c
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 <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions