]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: sh: rz-dmac: Fix lockdep assert warning
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 25 Jun 2024 17:01:16 +0000 (18:01 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 28 Jun 2024 07:19:27 +0000 (12:49 +0530)
commit0e53aa3464e9a0a82bd3b926ba5999a11569c9ba
tree768d882453ce19a6b206160af3153c5fbb96d269
parent73115d8068b6ed59e9d728bb9067462084f02a25
dmaengine: sh: rz-dmac: Fix lockdep assert warning

Fix the below lockdep assert warning by holding vc.lock for
vchan_get_all_descriptors().

WARNING: virt-dma.h:188 rz_dmac_terminate_all
pc : rz_dmac_terminate_all

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/20240625170119.173595-1-biju.das.jz@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/rz-dmac.c