Commit 555c5661 authored by Herbert Xu's avatar Herbert Xu

crypto: sahara - Use request_complete helpers

Use the request_complete helpers instead of calling the completion
function directly.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e94c1c9b
......@@ -1049,7 +1049,7 @@ static int sahara_queue_manage(void *data)
spin_unlock_bh(&dev->queue_spinlock);
if (backlog)
backlog->complete(backlog, -EINPROGRESS);
crypto_request_complete(backlog, -EINPROGRESS);
if (async_req) {
if (crypto_tfm_alg_type(async_req->tfm) ==
......@@ -1065,7 +1065,7 @@ static int sahara_queue_manage(void *data)
ret = sahara_aes_process(req);
}
async_req->complete(async_req, ret);
crypto_request_complete(async_req, ret);
continue;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment