OSDN Git Service

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)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 Mar 2021 10:45:06 +0000 (16:15 +0530)
commit1cbd44666216278bbb6a55bcb6b9283702171c77
treefdc1a557a1df2020c6bbbd9936dbb7a80bc2f3e7
parenta38fd8748464831584a19438cbb3082b5a2dab15
dmaengine: xilinx: dpdma: Fix descriptor issuing on video group

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>
drivers/dma/xilinx/xilinx_dpdma.c