Commit 47c32286 authored by Herbert Xu's avatar Herbert Xu

crypto: safexcel - 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 a712bff0
......@@ -850,7 +850,7 @@ void safexcel_dequeue(struct safexcel_crypto_priv *priv, int ring)
goto request_failed;
if (backlog)
backlog->complete(backlog, -EINPROGRESS);
crypto_request_complete(backlog, -EINPROGRESS);
/* In case the send() helper did not issue any command to push
* to the engine because the input data was cached, continue to
......@@ -1039,7 +1039,7 @@ static inline void safexcel_handle_result_descriptor(struct safexcel_crypto_priv
if (should_complete) {
local_bh_disable();
req->complete(req, ret);
crypto_request_complete(req, ret);
local_bh_enable();
}
......
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