|
@@ -842,7 +842,7 @@ static int safexcel_hmac_init_pad(struct ahash_request *areq,
|
|
init_completion(&result.completion);
|
|
init_completion(&result.completion);
|
|
|
|
|
|
ret = crypto_ahash_digest(areq);
|
|
ret = crypto_ahash_digest(areq);
|
|
- if (ret == -EINPROGRESS) {
|
|
|
|
|
|
+ if (ret == -EINPROGRESS || ret == -EBUSY) {
|
|
wait_for_completion_interruptible(&result.completion);
|
|
wait_for_completion_interruptible(&result.completion);
|
|
ret = result.error;
|
|
ret = result.error;
|
|
}
|
|
}
|