dmaengine: xilinx_dma: Extend dma_config structure to store max channel count
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Thu, 30 Jan 2020 12:54:24 +0000 (18:24 +0530)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Feb 2020 05:47:53 +0000 (11:17 +0530)
commit04c2bc2bede12f768227ac2b62b21258dc6b45e8
tree30b8b44e9d26bd5a8fda0f1e4ff6fa7393e6a689
parentd80cbef35bf89b763f06e03bb4ff8f933bf012c5
dmaengine: xilinx_dma: Extend dma_config structure to store max channel count

Extend dma_config structure to store the max channel count. This input is
used to populate dma device channel nodes at the fixed offset. It serves
as a preparatory patch for removing dma channel DT node order dependency,
added in the subsequent commit.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/1580388865-9960-2-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c