]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: xilinx_dma: Configure parking registers only if parking enabled
authorMarek Vasut <marex@denx.de>
Thu, 31 Oct 2024 17:11:04 +0000 (18:11 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 2 Dec 2024 17:00:41 +0000 (22:30 +0530)
commit8a20040f9de3a4ea90ab900cdd7745d57bc2da82
tree1ed3b0eaeb55193e3ef2abab6024ccc87200cd7b
parent0f31c0912286f84b34b15e39b286db8f4765ced8
dmaengine: xilinx_dma: Configure parking registers only if parking enabled

The VDMA can work in two modes, parking or circular. Do not program the
parking mode registers in case circular mode is used, it is useless.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/20241031171132.56861-1-marex@denx.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c