summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-aes.c
diff options
context:
space:
mode:
authorCyrille Pitchen2015-12-17 17:48:46 +0100
committerHerbert Xu2015-12-23 11:19:55 +0100
commit2a377828914f98aabcfeb0cb620f9b7ab808d3af (patch)
treed96e72c4bf47a32a7dc5fa1723cfa0c853a77202 /drivers/crypto/atmel-aes.c
parentcrypto: atmel-aes - remove useless AES_FLAGS_DMA flag (diff)
downloadkernel-qcow2-linux-2a377828914f98aabcfeb0cb620f9b7ab808d3af.tar.gz
kernel-qcow2-linux-2a377828914f98aabcfeb0cb620f9b7ab808d3af.tar.xz
kernel-qcow2-linux-2a377828914f98aabcfeb0cb620f9b7ab808d3af.zip
crypto: atmel-aes - fix atmel_aes_remove()
Add missing call to atmel_aes_buff_cleanup(). Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-aes.c')
-rw-r--r--drivers/crypto/atmel-aes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c
index 68e4177ad61b..343199cfed23 100644
--- a/drivers/crypto/atmel-aes.c
+++ b/drivers/crypto/atmel-aes.c
@@ -1469,6 +1469,7 @@ static int atmel_aes_remove(struct platform_device *pdev)
tasklet_kill(&aes_dd->queue_task);
atmel_aes_dma_cleanup(aes_dd);
+ atmel_aes_buff_cleanup(aes_dd);
return 0;
}