]> git.ipfire.org Git - people/arne_f/kernel.git/commit
dmaengine: xilinx: dpdma: Fix descriptor issuing on video group
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 7 Mar 2021 04:06:28 +0000 (06:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Apr 2021 11:41:50 +0000 (13:41 +0200)
commitcea1e229a5fab9a3e201385735fce01992dac4ac
tree9f5d343de5744caec0bf91dc5eae04c06de21f63
parent77ac7b25a80e7a303c803230cc1595d976bfd1ae
dmaengine: xilinx: dpdma: Fix descriptor issuing on video group

[ Upstream commit 1cbd44666216278bbb6a55bcb6b9283702171c77 ]

When multiple channels are part of a video group, the transfer is
triggered only when all channels in the group are ready. The logic to do
so is incorrect, as it causes the descriptors for all channels but the
last one in a group to not being pushed to the hardware. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20210307040629.29308-2-laurent.pinchart@ideasonboard.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/xilinx/xilinx_dpdma.c