diff options
author | Vinod Koul <vkoul@kernel.org> | 2018-07-19 18:52:26 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-10-07 15:55:09 +0200 |
commit | fe6d3719970e5b6662dbdb6e10d71eac5d5b8236 (patch) | |
tree | 61a7dedc5917ac8d2442c5b03beede529f020658 /drivers/dma/hsu | |
parent | dmaengine: dw: remove dma_slave_config direction usage (diff) | |
download | linux-fe6d3719970e5b6662dbdb6e10d71eac5d5b8236.tar.xz linux-fe6d3719970e5b6662dbdb6e10d71eac5d5b8236.zip |
dmaengine: hsu: 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/hsu')
-rw-r--r-- | drivers/dma/hsu/hsu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/dma/hsu/hsu.c b/drivers/dma/hsu/hsu.c index 202ffa9f7611..e06f20272fd7 100644 --- a/drivers/dma/hsu/hsu.c +++ b/drivers/dma/hsu/hsu.c @@ -348,10 +348,6 @@ static int hsu_dma_slave_config(struct dma_chan *chan, { struct hsu_dma_chan *hsuc = to_hsu_dma_chan(chan); - /* Check if chan will be configured for slave transfers */ - if (!is_slave_direction(config->direction)) - return -EINVAL; - memcpy(&hsuc->config, config, sizeof(hsuc->config)); return 0; |