diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-06-22 16:23:36 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-24 21:24:57 +0800 |
commit | b973eaab68db858cb42f5283b1b0ed6773d8fdd9 (patch) | |
tree | c846bebe6ad84ecd82e8e0738df6e4fa9b59b027 /drivers/crypto/omap-aes.c | |
parent | 65e7a549af295cb2034f17e99211b97e9d02cbee (diff) | |
download | op-kernel-dev-b973eaab68db858cb42f5283b1b0ed6773d8fdd9.zip op-kernel-dev-b973eaab68db858cb42f5283b1b0ed6773d8fdd9.tar.gz |
crypto: omap - do not call dmaengine_terminate_all
The extra call to dmaengine_terminate_all is not needed, as the DMA
is not running at this point. This improves performance slightly.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-aes.c')
-rw-r--r-- | drivers/crypto/omap-aes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c index 4a0e6a5..8178632 100644 --- a/drivers/crypto/omap-aes.c +++ b/drivers/crypto/omap-aes.c @@ -528,8 +528,6 @@ static int omap_aes_crypt_dma_stop(struct omap_aes_dev *dd) omap_aes_dma_stop(dd); - dmaengine_terminate_all(dd->dma_lch_in); - dmaengine_terminate_all(dd->dma_lch_out); return 0; } |