Commit 17fcc82e authored by Herbert Xu's avatar Herbert Xu

crypto: hifn_795x - 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 13c20754
...@@ -1705,7 +1705,7 @@ static void hifn_process_ready(struct skcipher_request *req, int error) ...@@ -1705,7 +1705,7 @@ static void hifn_process_ready(struct skcipher_request *req, int error)
hifn_cipher_walk_exit(&rctx->walk); hifn_cipher_walk_exit(&rctx->walk);
} }
req->base.complete(&req->base, error); skcipher_request_complete(req, error);
} }
static void hifn_clear_rings(struct hifn_device *dev, int error) static void hifn_clear_rings(struct hifn_device *dev, int error)
...@@ -2054,7 +2054,7 @@ static int hifn_process_queue(struct hifn_device *dev) ...@@ -2054,7 +2054,7 @@ static int hifn_process_queue(struct hifn_device *dev)
break; break;
if (backlog) if (backlog)
backlog->complete(backlog, -EINPROGRESS); crypto_request_complete(backlog, -EINPROGRESS);
req = skcipher_request_cast(async_req); req = skcipher_request_cast(async_req);
......
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