[PATCH v3 06/28] crypto: omap: use -EIOCBQUEUED for backlog indication

From: Gilad Ben-Yossef
Date: Sun Jul 02 2017 - 10:44:30 EST


Replace -EBUSY with -EIOCBQUEUED for backlog queueing indication
as part of new API.

Signed-off-by: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
---

This patch should be squashed with the first patch in the series
when applied.

drivers/crypto/omap-sham.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index 9ad9d39..dfac821 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -1279,7 +1279,7 @@ static int omap_sham_finup(struct ahash_request *req)
ctx->flags |= BIT(FLAGS_FINUP);

err1 = omap_sham_update(req);
- if (err1 == -EINPROGRESS || err1 == -EBUSY)
+ if (err1 == -EINPROGRESS || err1 == -EIOCBQUEUED)
return err1;
/*
* final() has to be always called to cleanup resources
--
2.1.4