diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-12-13 10:54:46 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-20 07:58:34 +0100 |
commit | 644c247e8e35f36d6850bcc1da56a4cb79780825 (patch) | |
tree | af25b1acfc01c545e8f29c6b73ec71dc5d2a2d3d /drivers/crypto/atmel-tdes.c | |
parent | crypto: atmel-{aes,sha} - Fix incorrect use of dmaengine_terminate_all() (diff) | |
download | linux-644c247e8e35f36d6850bcc1da56a4cb79780825.tar.xz linux-644c247e8e35f36d6850bcc1da56a4cb79780825.zip |
crypto: atmel-{aes,sha,tdes} - Drop duplicate init of dma_slave_config.direction
The 'direction' member of the dma_slave_config will be going away
as it duplicates the direction given in the prepare call.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | drivers/crypto/atmel-tdes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/atmel-tdes.c b/drivers/crypto/atmel-tdes.c index 12268b549596..51b332527efd 100644 --- a/drivers/crypto/atmel-tdes.c +++ b/drivers/crypto/atmel-tdes.c @@ -753,7 +753,6 @@ static int atmel_tdes_dma_init(struct atmel_tdes_dev *dd, goto err_dma_in; } - dd->dma_lch_in.dma_conf.direction = DMA_MEM_TO_DEV; dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + TDES_IDATA1R; dd->dma_lch_in.dma_conf.src_maxburst = 1; @@ -770,7 +769,6 @@ static int atmel_tdes_dma_init(struct atmel_tdes_dev *dd, goto err_dma_out; } - dd->dma_lch_out.dma_conf.direction = DMA_DEV_TO_MEM; dd->dma_lch_out.dma_conf.src_addr = dd->phys_base + TDES_ODATA1R; dd->dma_lch_out.dma_conf.src_maxburst = 1; |