dmaengine: xilinx_dma: Fix SG capability check for MCDMA
authorMatthew Murrian <matthew.murrian@goctsi.com>
Wed, 4 Nov 2020 07:00:06 +0000 (12:30 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 9 Nov 2020 12:24:22 +0000 (17:54 +0530)
commit96d5d884f78306206d745d856aad322becd100c3
treeb3b4f09175e09031338b1a7e42aedbcf353e45c0
parentc8ae7932997d0cc92d016829138074c7520248e5
dmaengine: xilinx_dma: Fix SG capability check for MCDMA

The SG capability is inherently present with Multichannel DMA operation.
The register used to check for this capability with other DMA driver types
is not defined for MCDMA.

Fixes: 6ccd692bfb7f ("dmaengine: xilinx_dma: Add Xilinx AXI MCDMA Engine driver support")
Signed-off-by: Matthew Murrian <matthew.murrian@goctsi.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/1604473206-32573-4-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c