Skip to content

Commit 25c9d2c

Browse files
committed
crypto: mxs-dcp - Use request_complete helpers
Use the request_complete helpers instead of calling the completion function directly. Signed-off-by: Herbert Xu <[email protected]>
1 parent 25085ba commit 25c9d2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/crypto/mxs-dcp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,11 @@ static int dcp_chan_thread_aes(void *data)
413413
set_current_state(TASK_RUNNING);
414414

415415
if (backlog)
416-
backlog->complete(backlog, -EINPROGRESS);
416+
crypto_request_complete(backlog, -EINPROGRESS);
417417

418418
if (arq) {
419419
ret = mxs_dcp_aes_block_crypt(arq);
420-
arq->complete(arq, ret);
420+
crypto_request_complete(arq, ret);
421421
}
422422
}
423423

@@ -709,11 +709,11 @@ static int dcp_chan_thread_sha(void *data)
709709
set_current_state(TASK_RUNNING);
710710

711711
if (backlog)
712-
backlog->complete(backlog, -EINPROGRESS);
712+
crypto_request_complete(backlog, -EINPROGRESS);
713713

714714
if (arq) {
715715
ret = dcp_sha_req_to_buf(arq);
716-
arq->complete(arq, ret);
716+
crypto_request_complete(arq, ret);
717717
}
718718
}
719719

0 commit comments

Comments
 (0)