mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
crypto: atmel-aes - reduce latency of DMA completion
atmel_aes_dma_callback() now directly calls the 'resume' callback instead of scheduling the done task, which in turn only calls the very same 'resume' callback. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
bd5f43decd
commit
13c7f876c2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user