diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-06-22 15:23:36 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-24 15:24:57 +0200 |
commit | b973eaab68db858cb42f5283b1b0ed6773d8fdd9 (patch) | |
tree | c846bebe6ad84ecd82e8e0738df6e4fa9b59b027 /drivers/crypto/omap-sham.c | |
parent | crypto: omap-sham - change queue size from 1 to 10 (diff) | |
download | linux-b973eaab68db858cb42f5283b1b0ed6773d8fdd9.tar.xz linux-b973eaab68db858cb42f5283b1b0ed6773d8fdd9.zip |
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-sham.c')
-rw-r--r-- | drivers/crypto/omap-sham.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 8090db0de466..3321f003f465 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c @@ -815,7 +815,6 @@ static int omap_sham_update_dma_stop(struct omap_sham_dev *dd) { struct omap_sham_reqctx *ctx = ahash_request_ctx(dd->req); - dmaengine_terminate_all(dd->dma_lch); if (ctx->flags & BIT(FLAGS_SG)) { dma_unmap_sg(dd->dev, ctx->sg, 1, DMA_TO_DEVICE); |