summaryrefslogtreecommitdiff
path: root/tools/lib/python/feat/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2025-11-13 19:50:48 +0000
committerVinod Koul <vkoul@kernel.org>2025-12-16 21:39:17 +0530
commit747213b08a1ab6a76e3e3b3e7a209cc1d402b5d0 (patch)
tree5ab606be8913654a14f5059806b20e681ffc2210 /tools/lib/python/feat/git@git.tavy.me:linux.git
parentc0732fe78728718c853ef8e7af5bbb05262acbd1 (diff)
dmaengine: sh: rz-dmac: Fix rz_dmac_terminate_all()
After audio full duplex testing, playing the recorded file contains a few playback frames from the previous time. The rz_dmac_terminate_all() does not reset all the hardware descriptors queued previously, leading to the wrong descriptor being picked up during the next DMA transfer. Fix the above issue by resetting all the descriptor headers for a channel in rz_dmac_terminate_all() as rz_dmac_lmdesc_recycle() points to the proper descriptor header filled by the rz_dmac_prepare_descs_for_slave_sg(). Cc: stable@kernel.org Fixes: 5000d37042a6 ("dmaengine: sh: Add DMAC driver for RZ/G2L SoC") Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Link: https://patch.msgid.link/20251113195052.564338-1-biju.das.jz@bp.renesas.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/lib/python/feat/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions