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)
commitffb5be7c708ac38db7e339d31bb0eb23962ea8c7
tree6997542064cdac2c1a196686e07414609815e93b
parentb5a4c37324049efe0e0199e975e0df9554fa8873
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