summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2018-07-19 19:52:26 +0300
committerVinod Koul <vkoul@kernel.org>2018-10-07 16:55:09 +0300
commit7f0c145089537125ba91852eddebe13b2c1266fb (patch)
tree7f0a52fb797d1ecf91b85b2bc045312c929e9890 /drivers/dma
parentfe6d3719970e5b6662dbdb6e10d71eac5d5b8236 (diff)
downloadlinux-7f0c145089537125ba91852eddebe13b2c1266fb.tar.xz
dmaengine: idma: remove dma_slave_config direction usage
dma_slave_config direction was marked as deprecated quite some time back, remove the usage from this driver so that the field can be removed Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/idma64.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/dma/idma64.c b/drivers/dma/idma64.c
index 1fbf9cb9b742..40dc5d2ddf3d 100644
--- a/drivers/dma/idma64.c
+++ b/drivers/dma/idma64.c
@@ -408,10 +408,6 @@ static int idma64_slave_config(struct dma_chan *chan,
{
struct idma64_chan *idma64c = to_idma64_chan(chan);
- /* Check if chan will be configured for slave transfers */
- if (!is_slave_direction(config->direction))
- return -EINVAL;
-
memcpy(&idma64c->config, config, sizeof(idma64c->config));
convert_burst(&idma64c->config.src_maxburst);