|
@@ -753,7 +753,7 @@ static void ahash_done_ctx_dst(struct device *jrdev, u32 *desc, u32 err,
|
|
|
if (err)
|
|
|
caam_jr_strstatus(jrdev, err);
|
|
|
|
|
|
- ahash_unmap_ctx(jrdev, edesc, req, ctx->ctx_len, DMA_TO_DEVICE);
|
|
|
+ ahash_unmap_ctx(jrdev, edesc, req, ctx->ctx_len, DMA_FROM_DEVICE);
|
|
|
kfree(edesc);
|
|
|
|
|
|
#ifdef DEBUG
|