diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-11-22 23:21:59 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-12-17 06:53:56 +0100 |
commit | 722d6d2bdcc2dcff5527c704fb8f2bbcb018a232 (patch) | |
tree | ad8037a3812f9521a396667f0377c43d2919832c /drivers/dma | |
parent | dmaengine: pxa/mmp: stop referencing config->slave_id (diff) | |
download | linux-722d6d2bdcc2dcff5527c704fb8f2bbcb018a232.tar.xz linux-722d6d2bdcc2dcff5527c704fb8f2bbcb018a232.zip |
dmaengine: sprd: stop referencing config->slave_id
It appears that the code that reads the slave_id from the channel config
was copied incorrectly from other drivers. Nothing ever sets this field
on platforms that use this driver, so remove the reference.
Reviewed-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211122222203.4103644-8-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/sprd-dma.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c index 4357d2395e6b..7f158ef5672d 100644 --- a/drivers/dma/sprd-dma.c +++ b/drivers/dma/sprd-dma.c @@ -795,9 +795,6 @@ static int sprd_dma_fill_desc(struct dma_chan *chan, return dst_datawidth; } - if (slave_cfg->slave_id) - schan->dev_id = slave_cfg->slave_id; - hw->cfg = SPRD_DMA_DONOT_WAIT_BDONE << SPRD_DMA_WAIT_BDONE_OFFSET; /* |