]> 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)
commit2038ab236fa51373356354a6885a472b4c517afe
tree6997542064cdac2c1a196686e07414609815e93b
parenta047620124563bf11b49eeed717368286e36e2bf
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