aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/omap-sham.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index ba8f1ea84c5e..8a45fb713250 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -639,7 +639,7 @@ static void omap_sham_finish_req(struct ahash_request *req, int err)
639 struct omap_sham_dev *dd = ctx->dd; 639 struct omap_sham_dev *dd = ctx->dd;
640 640
641 if (!err) { 641 if (!err) {
642 omap_sham_copy_hash(ctx->dd->req, 1); 642 omap_sham_copy_hash(req, 1);
643 if (ctx->flags & FLAGS_FINAL) 643 if (ctx->flags & FLAGS_FINAL)
644 err = omap_sham_finish(req); 644 err = omap_sham_finish(req);
645 } else { 645 } else {