dmaengine: xilinx: dpdma: Print debug message when losing vsync race
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 20 May 2021 15:24:19 +0000 (18:24 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 31 May 2021 04:07:39 +0000 (09:37 +0530)
commit4fbf41ce573556a6dc4e684f0d92700cdc883ad3
treef8f61fde9b1432d713c32ac42ffa268bbe95935c
parent30211901927a2a504adae2a75f9863962d2d06b0
dmaengine: xilinx: dpdma: Print debug message when losing vsync race

The hardware retrigger is inherently racy with the vsync interrupt. This
isn't an issue as the hardware provides a way to detect a race loss and
handle it correctly. When debugging issues related to this, it's useful
to get a notification of the race loss. Add a debug message to do so.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Jianqiang Chen <jianqiang.chen@xilinx.com>
Reviewed-by: Jianqiang Chen <jianqiang.chen@xilinx.com>
Link: https://lore.kernel.org/r/20210520152420.23986-4-laurent.pinchart@ideasonboard.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dpdma.c