Skip to content

Commit

Permalink
dmaengine: idma: remove dma_slave_config direction usage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vinod Koul committed Oct 7, 2018
1 parent fe6d371 commit 7f0c145
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/dma/idma64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7f0c145

Please sign in to comment.