crypto: atmel-aes - fix atmel_aes_remove()
authorCyrille Pitchen <cyrille.pitchen@atmel.com>
Thu, 17 Dec 2015 16:48:46 +0000 (17:48 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Dec 2015 10:19:55 +0000 (18:19 +0800)
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>
drivers/crypto/atmel-aes.c

index 68e4177ad61b855458e697e12030d75e0b637ea4..343199cfed2315e1e86719a9468d19d38ebad3be 100644 (file)
@@ -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;
 }