crypto: sahara - Use request_complete helpers

Use the request_complete helpers instead of calling the completion
function directly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Herbert Xu 2023-01-31 16:02:48 +08:00
Родитель e94c1c9b43
Коммит 555c566131
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1049,7 +1049,7 @@ static int sahara_queue_manage(void *data)
spin_unlock_bh(&dev->queue_spinlock); spin_unlock_bh(&dev->queue_spinlock);
if (backlog) if (backlog)
backlog->complete(backlog, -EINPROGRESS); crypto_request_complete(backlog, -EINPROGRESS);
if (async_req) { if (async_req) {
if (crypto_tfm_alg_type(async_req->tfm) == if (crypto_tfm_alg_type(async_req->tfm) ==
@ -1065,7 +1065,7 @@ static int sahara_queue_manage(void *data)
ret = sahara_aes_process(req); ret = sahara_aes_process(req);
} }
async_req->complete(async_req, ret); crypto_request_complete(async_req, ret);
continue; continue;
} }