diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-12-13 09:54:46 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-20 14:58:34 +0800 |
commit | 644c247e8e35f36d6850bcc1da56a4cb79780825 (patch) | |
tree | af25b1acfc01c545e8f29c6b73ec71dc5d2a2d3d /drivers/crypto/atmel-sha.c | |
parent | 0e69378940eafe386464679a84856d1b63e1bac2 (diff) | |
download | linux-stable-644c247e8e35f36d6850bcc1da56a4cb79780825.tar.gz linux-stable-644c247e8e35f36d6850bcc1da56a4cb79780825.tar.bz2 linux-stable-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 'drivers/crypto/atmel-sha.c')
-rw-r--r-- | drivers/crypto/atmel-sha.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c index 7cf4ec9ed93a..21fcc04f6688 100644 --- a/drivers/crypto/atmel-sha.c +++ b/drivers/crypto/atmel-sha.c @@ -2493,7 +2493,6 @@ static int atmel_sha_dma_init(struct atmel_sha_dev *dd, return ret; } - dd->dma_lch_in.dma_conf.direction = DMA_MEM_TO_DEV; dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + SHA_REG_DIN(0); dd->dma_lch_in.dma_conf.src_maxburst = 1; |