summaryrefslogtreecommitdiff
path: root/drivers/dma/idma64.c
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2018-10-24 11:15:37 +0300
committerVinod Koul <vkoul@kernel.org>2018-10-24 11:15:37 +0300
commitedc329fbb8de57afd144632cdb0749c7da27810a (patch)
tree16920b8f50e4b45ff9420268d24c44a9393f1a3e /drivers/dma/idma64.c
parente1b5c26e254af3f4f59cdddb91c21b48c2c34b2c (diff)
parent314448f0386f656aa0f695d8743cc1e8eacde3ac (diff)
downloadlinux-edc329fbb8de57afd144632cdb0749c7da27810a.tar.xz
Merge branch 'topic/dirn_remove' into for-linus
Diffstat (limited to 'drivers/dma/idma64.c')
-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);