diff options
| author | 2022-07-22 09:44:30 +0100 | |
|---|---|---|
| committer | 2022-07-26 18:27:50 +0530 | |
| commit | 7d3a3aaaa9cc8ec53e9ef4f3e1711827107f76c5 (patch) | |
| tree | c62c10b20fb00099ce03f4dc5ba5cbd2e84303b3 /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failed (diff) | |
| download | linux-dev-7d3a3aaaa9cc8ec53e9ef4f3e1711827107f76c5.tar.xz linux-dev-7d3a3aaaa9cc8ec53e9ef4f3e1711827107f76c5.zip | |
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 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
