diff options
author | Vinod Koul <vkoul@kernel.org> | 2018-10-24 11:15:37 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-10-24 11:15:37 +0300 |
commit | edc329fbb8de57afd144632cdb0749c7da27810a (patch) | |
tree | 16920b8f50e4b45ff9420268d24c44a9393f1a3e /drivers/dma/idma64.c | |
parent | e1b5c26e254af3f4f59cdddb91c21b48c2c34b2c (diff) | |
parent | 314448f0386f656aa0f695d8743cc1e8eacde3ac (diff) | |
download | linux-edc329fbb8de57afd144632cdb0749c7da27810a.tar.xz |
Merge branch 'topic/dirn_remove' into for-linus
Diffstat (limited to 'drivers/dma/idma64.c')
-rw-r--r-- | drivers/dma/idma64.c | 4 |
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); |