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 465cde3e4f60..e36032bac2e5 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -835,7 +835,7 @@ static int omap_sham_finup(struct ahash_request *req)
835 ctx->flags |= FLAGS_FINUP; 835 ctx->flags |= FLAGS_FINUP;
836 836
837 err1 = omap_sham_update(req); 837 err1 = omap_sham_update(req);
838 if (err1 == -EINPROGRESS) 838 if (err1 == -EINPROGRESS || err1 == -EBUSY)
839 return err1; 839 return err1;
840 /* 840 /*
841 * final() has to be always called to cleanup resources 841 * final() has to be always called to cleanup resources