diff options
-rw-r--r-- | drivers/crypto/atmel-aes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index 25dc7bd73532..8a2b3e81c087 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c @@ -337,8 +337,8 @@ static void atmel_aes_dma_callback(void *data) { struct atmel_aes_dev *dd = data; - /* dma_lch_out - completed */ - tasklet_schedule(&dd->done_task); + dd->is_async = true; + (void)dd->resume(dd); } static int atmel_aes_crypt_dma(struct atmel_aes_dev *dd, |