]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: sprd: Change channel id to slave id for DMA cell specifier
authorBaolin Wang <baolin.wang@linaro.org>
Thu, 21 Feb 2019 05:34:41 +0000 (13:34 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 25 Feb 2019 06:41:19 +0000 (12:11 +0530)
commit49c6d9f46e5a58e159f31f770f866b43f9850499
tree6997542064cdac2c1a196686e07414609815e93b
parent46028b80248aa4183cab14f5b426c3037361447d
dmaengine: sprd: Change channel id to slave id for DMA cell specifier

We will describe the slave id in DMA cell specifier instead of DMA channel
id, thus we should save the slave id from DMA engine translation function,
and remove the channel id validation.

Meanwhile we do not need set default slave id in sprd_dma_alloc_chan_resources(),
remove it.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sprd-dma.c